进程管理
进程的基本介绍
- 在Linux中,每个正在执行的程序都称为一个进程。每个进程都分配一个id号
- 每一个进程,都会对应一个父进程,而这个父进程可以复制多个子进程。例如www服务器
- 每个进程都可能以两种方式存在的,前台与后台。所谓前台进程就是用户目前的屏幕上可以进行操作的。后台进程则是实际在操作,但由于屏幕上无法看到的进程
- 一般系统的服务都是以后台进程的方式存在,而且都会常驻在系统中,直到关机才才结束
显示系统执行的进程
ps命令(Processes Status)用于报告当前系统的进程状态,一般来说使用的参数是“ps -aux”
基本语法
基本语法:ps [选项]
常用选项
- -a 显示所有进程(包括其他用户的进程)
- -u 用户以及其他详细信息
- -x 显示没有控制终端的进程
- -e 显示所有进程
- -f 全格式
参数意义
进程状态
Linux系统中时刻运行着许多进程,如果能够合理地管理它们,则可以优化系统的性能。在Linux系统中,有5种常见的进程状态,分别为运行、中断、不可中断、僵死与停止,其各自含义如下所示
- R(运行):进程正在运行或在运行队列中等待
- S(中断):进程处于休眠中,当某个条件形成后或者接收到信号时,则脱离该状态
- D(不可中断):进程不响应系统异步信号,即便用 kill 命令也不能将其中断
- Z(僵死):进程已经终止,但进程描述符依然存在, 直到父进程调用 wait4()系统函数后将进程释放
- T(停止):进程收到停止信号后停止运行
示例
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | [root@host-loubth 桌面]# ps -auxWarning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQUSER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMANDroot 1 0.0 0.1 19348 1548 ? Ss 14:00 0:02 /sbin/initroot 2 0.0 0.0 0 0 ? S 14:00 0:00 [kthreadd]root 3 0.0 0.0 0 0 ? S 14:00 0:00 [migration/0]root 4 0.0 0.0 0 0 ? S 14:00 0:00 [ksoftirqd/0]root 5 0.0 0.0 0 0 ? S 14:00 0:00 [stopper/0]root 6 0.0 0.0 0 0 ? S 14:00 0:00 [watchdog/0]root 7 0.1 0.0 0 0 ? S 14:00 0:05 [events/0]root 8 0.0 0.0 0 0 ? S 14:00 0:00 [events/0]root 9 0.0 0.0 0 0 ? S 14:00 0:00 [events_long/]root 10 0.0 0.0 0 0 ? S 14:00 0:00 [events_power]root 11 0.0 0.0 0 0 ? S 14:00 0:00 [cgroup]root 12 0.0 0.0 0 0 ? S 14:00 0:00 [khelper]root 13 0.0 0.0 0 0 ? S 14:00 0:00 [netns]root 14 0.0 0.0 0 0 ? S 14:00 0:00 [async/mgr]root 15 0.0 0.0 0 0 ? S 14:00 0:00 [pm]root 16 0.0 0.0 0 0 ? S 14:00 0:00 [sync_supers]root 17 0.0 0.0 0 0 ? S 14:00 0:00 [bdi-default]root 18 0.0 0.0 0 0 ? S 14:00 0:00 [kintegrityd/]root 19 0.0 0.0 0 0 ? S 14:00 0:00 [kblockd/0]root 20 0.0 0.0 0 0 ? S 14:00 0:00 [kacpid]root 21 0.0 0.0 0 0 ? S 14:00 0:00 [kacpi_notify]root 22 0.0 0.0 0 0 ? S 14:00 0:00 [kacpi_hotplu]root 23 0.0 0.0 0 0 ? S 14:00 0:00 [ata_aux]root 24 0.0 0.0 0 0 ? S 14:00 0:00 [ata_sff/0]root 25 0.0 0.0 0 0 ? S 14:00 0:00 [ksuspend_usb]root 26 0.0 0.0 0 0 ? S 14:00 0:00 [khubd]root 27 0.0 0.0 0 0 ? S 14:00 0:00 [kseriod]root 28 0.0 0.0 0 0 ? S 14:00 0:00 [md/0]root 29 0.0 0.0 0 0 ? S 14:00 0:00 [md_misc/0]root 30 0.0 0.0 0 0 ? S 14:00 0:00 [linkwatch]root 33 0.0 0.0 0 0 ? S 14:00 0:00 [khungtaskd]root 34 0.0 0.0 0 0 ? S 14:00 0:00 [kswapd0]root 35 0.0 0.0 0 0 ? SN 14:00 0:00 [ksmd]root 36 0.0 0.0 0 0 ? SN 14:00 0:00 [khugepaged]root 37 0.0 0.0 0 0 ? S 14:00 0:00 [aio/0]root 38 0.0 0.0 0 0 ? S 14:00 0:00 [crypto/0]root 45 0.0 0.0 0 0 ? S 14:00 0:00 [kthrotld/0]root 46 0.0 0.0 0 0 ? S 14:00 0:00 [pciehpd]root 48 0.0 0.0 0 0 ? S 14:00 0:00 [kpsmoused]root 49 0.0 0.0 0 0 ? S 14:00 0:00 [usbhid_resum]root 50 0.0 0.0 0 0 ? S 14:00 0:00 [deferwq]root 82 0.0 0.0 0 0 ? S 14:00 0:00 [kdmremove]root 83 0.0 0.0 0 0 ? S 14:00 0:00 [kstriped]root 114 0.0 0.0 0 0 ? S 14:00 0:00 [ttm_swap]root 232 0.0 0.0 0 0 ? S 14:00 0:00 [mpt_poll_0]root 233 0.0 0.0 0 0 ? S 14:00 0:00 [mpt/0]root 234 0.0 0.0 0 0 ? S 14:00 0:00 [scsi_eh_0]root 240 0.0 0.0 0 0 ? S 14:00 0:00 [scsi_eh_1]root 241 0.0 0.0 0 0 ? S 14:00 0:00 [scsi_eh_2]root 418 0.0 0.0 0 0 ? S 14:00 0:00 [jbd2/sda3-8]root 419 0.0 0.0 0 0 ? S 14:00 0:00 [ext4-dio-unw]root 518 0.0 0.1 11488 1612 ? S<s 14:01 0:00 /sbin/udevd -droot 740 0.0 0.0 0 0 ? S 14:01 0:00 [flush-8:0]root 776 0.0 0.0 0 0 ? S 14:01 0:00 [vmmemctl]root 1089 0.0 0.0 0 0 ? S 14:01 0:00 [jbd2/sdb1-8]root 1090 0.0 0.0 0 0 ? S 14:01 0:00 [ext4-dio-unw]root 1091 0.0 0.0 0 0 ? S 14:01 0:00 [jbd2/sda1-8]root 1092 0.0 0.0 0 0 ? S 14:01 0:00 [ext4-dio-unw]root 1138 0.0 0.0 0 0 ? S 14:01 0:00 [kauditd]root 1509 0.0 0.0 177080 928 ? Ssl 14:01 0:00 /usr/sbin/vmwaroot 1545 0.2 0.7 177200 7964 ? Sl 14:01 0:05 /usr/sbin/vmtoroot 1600 0.0 0.9 51024 9292 ? S 14:01 0:00 /usr/lib/vmwarroot 1725 0.0 0.5 208204 5352 ? Sl 14:01 0:02 /usr/lib/vmwarroot 1965 0.0 0.0 27596 836 ? S<sl 14:01 0:00 auditdroot 1989 0.0 0.0 6164 576 ? Ss 14:01 0:00 /sbin/portreseroot 1999 0.0 0.1 255488 1736 ? Sl 14:01 0:00 /sbin/rsyslogddbus 2050 0.0 0.1 32524 1904 ? Ssl 14:01 0:00 dbus-daemon --root 2064 0.0 0.4 85012 4608 ? Ss 14:01 0:00 NetworkManagerroot 2070 0.0 0.2 58136 2452 ? S 14:01 0:00 /usr/sbin/moderoot 2095 0.0 0.3 188968 3356 ? Ss 14:01 0:00 cupsd -C /etc/root 2096 0.0 0.0 45000 704 ? Ss 14:01 0:00 /usr/sbin/wpa_root 2176 0.0 0.0 4080 664 ? Ss 14:01 0:00 /usr/sbin/acpi68 2194 0.0 0.5 39376 5620 ? Ssl 14:01 0:00 haldroot 2195 0.0 0.1 20400 1192 ? S 14:01 0:00 hald-runnerroot 2240 0.0 0.1 22520 1100 ? S 14:01 0:00 hald-addon-inp68 2247 0.0 0.1 18008 1044 ? S 14:01 0:00 hald-addon-acproot 2278 0.0 0.1 66236 1172 ? Ss 14:01 0:00 /usr/sbin/sshdroot 2456 0.0 0.3 80896 3428 ? Ss 14:01 0:00 /usr/libexec/ppostfix 2463 0.0 0.3 80976 3392 ? S 14:01 0:00 pickup -l -t fpostfix 2464 0.0 0.3 81144 3448 ? S 14:01 0:00 qmgr -l -t fifroot 2485 0.0 0.2 183028 2524 ? Ss 14:01 0:00 /usr/sbin/abrtroot 2497 0.0 0.1 116872 1396 ? Ss 14:01 0:01 crondroot 2512 0.0 0.0 21108 496 ? Ss 14:01 0:00 /usr/sbin/atdroot 2520 0.0 0.2 134116 2212 ? Ssl 14:01 0:00 /usr/sbin/gdm-root 2525 0.0 0.0 4064 540 tty2 Ss+ 14:01 0:00 /sbin/mingettyroot 2527 0.0 0.0 4064 540 tty3 Ss+ 14:01 0:00 /sbin/mingettyroot 2529 0.0 0.0 4064 544 tty4 Ss+ 14:01 0:00 /sbin/mingettyroot 2531 0.0 0.0 4064 540 tty5 Ss+ 14:01 0:00 /sbin/mingettyroot 2533 0.0 0.0 4064 540 tty6 Ss+ 14:01 0:00 /sbin/mingettyroot 2540 0.0 0.2 12548 2828 ? S< 14:01 0:00 /sbin/udevd -droot 2541 0.0 0.2 12548 2820 ? S< 14:01 0:00 /sbin/udevd -droot 2556 0.0 0.3 165020 3596 ? Sl 14:01 0:00 /usr/libexec/groot 2559 0.4 3.3 180556 33532 tty1 Ss+ 14:01 0:12 /usr/bin/Xorgroot 2573 0.0 0.3 577712 3328 ? Sl 14:01 0:00 /usr/sbin/consgdm 2643 0.0 0.0 20044 692 ? S 14:01 0:00 /usr/bin/dbus-root 2649 0.0 0.2 49988 2708 ? S 14:01 0:00 /usr/libexec/droot 2692 0.0 0.4 52732 4508 ? S 14:01 0:00 /usr/libexec/prtkit 2701 0.0 0.1 168456 1192 ? SNl 14:01 0:00 /usr/libexec/rroot 2707 0.0 0.3 191884 3120 ? Sl 14:01 0:00 pam: gdm-passwroot 2747 0.0 0.5 163596 5824 ? Sl 14:21 0:00 /usr/bin/gnomeroot 2757 0.0 0.6 253572 6748 ? Ssl 14:21 0:00 gnome-sessionroot 2765 0.0 0.0 20044 692 ? S 14:21 0:00 dbus-launch --root 2766 0.0 0.3 32340 3788 ? Ssl 14:21 0:00 /bin/dbus-daemroot 2826 0.0 0.5 133780 5624 ? S 14:21 0:00 /usr/libexec/groot 2832 0.0 1.2 506404 12428 ? Ssl 14:21 0:00 /usr/libexec/groot 2836 0.0 0.8 286592 8240 ? Ss 14:21 0:00 seahorse-daemoroot 2841 0.0 0.2 137528 2164 ? S 14:21 0:00 /usr/libexec/groot 2845 0.0 0.2 274812 2784 ? Ssl 14:21 0:00 /usr/libexec//root 2852 0.0 1.4 435884 14352 ? Sl 14:21 0:00 metacityroot 2860 0.0 1.6 351008 16116 ? S 14:21 0:00 gnome-panelroot 2864 0.1 2.1 692556 21772 ? S 14:21 0:02 nautilusroot 2866 0.0 0.5 631148 5456 ? Ssl 14:21 0:00 /usr/libexec/broot 2874 0.0 0.3 298352 3692 ? S 14:21 0:00 /usr/libexec/groot 2875 0.0 0.8 261532 8496 ? S 14:21 0:00 bluetooth-applroot 2876 0.0 0.4 29476 4492 ? S 14:21 0:00 /usr/sbin/restroot 2879 0.0 1.2 327676 12772 ? S 14:21 0:00 /usr/libexec/wroot 2882 0.0 0.9 316352 9820 ? S 14:21 0:00 /usr/libexec/troot 2884 0.2 1.7 301008 18028 ? S 14:21 0:03 /usr/lib/vmwarroot 2886 0.0 0.6 295316 6996 ? S 14:21 0:00 abrt-appletroot 2887 0.0 0.7 255756 7064 ? S 14:21 0:00 /usr/libexec/groot 2889 0.0 0.3 57840 3044 ? Sl 14:21 0:00 /usr/libexec/uroot 2892 0.0 0.7 258092 7336 ? S 14:21 0:00 gnome-power-maroot 2894 0.0 0.4 125728 4024 ? Sl 14:21 0:00 /usr/libexec/iroot 2895 0.0 1.2 320692 12404 ? S 14:21 0:00 nm-applet --smroot 2900 0.0 0.5 229988 5720 ? S 14:21 0:00 /usr/libexec/proot 2902 0.5 0.5 450396 5128 ? S<sl 14:21 0:06 /usr/bin/pulseroot 2904 0.0 1.1 470004 11324 ? Sl 14:21 0:00 gpk-update-icoroot 2906 0.0 1.3 390356 13280 ? S 14:21 0:00 gnome-volume-croot 2919 0.0 0.2 94848 2644 ? S 14:21 0:00 /usr/libexec/proot 2922 0.0 0.0 45224 676 ? S 14:21 0:00 udisks-daemon:root 2924 0.0 0.3 144372 3228 ? S 14:21 0:00 /usr/libexec/groot 2929 0.0 0.6 264984 6404 ? Ss 14:21 0:00 gnome-screensaroot 2988 0.0 0.2 151144 2168 ? S 14:21 0:00 /usr/libexec/groot 2996 0.0 0.2 232620 2048 ? Sl 14:21 0:00 /usr/libexec/groot 3086 0.0 1.5 574224 15372 ? S 14:21 0:00 /usr/libexec/croot 3087 0.0 2.1 426672 21900 ? S 14:21 0:00 /usr/bin/gnoteroot 3088 0.0 1.3 414744 13512 ? S 14:21 0:00 /usr/libexec/groot 3092 0.0 0.8 291320 8144 ? S 14:21 0:00 /usr/libexec/nroot 3140 0.0 0.2 151424 2612 ? Sl 14:21 0:00 /usr/bin/ibus-root 3143 0.0 0.2 41100 2316 ? S 14:21 0:00 /usr/libexec/groot 3144 0.0 0.3 156588 3460 ? S 14:21 0:00 /usr/libexec/iroot 3146 0.0 2.5 347892 25924 ? S 14:21 0:00 python /usr/shroot 3148 0.0 0.6 236584 6288 ? S 14:21 0:00 /usr/libexec/iroot 3149 0.0 0.4 165468 4228 ? S 14:21 0:00 /usr/libexec/iroot 3167 0.0 0.2 137608 2340 ? S 14:21 0:00 /usr/libexec/groot 3178 0.0 0.1 135376 1928 ? S 14:21 0:00 /usr/libexec/groot 3290 2.5 1.6 348288 16644 ? Sl 14:44 0:00 /usr/bin/gnomeroot 3291 0.0 0.0 8228 692 ? S 14:44 0:00 gnome-pty-helproot 3292 0.1 0.1 108348 1844 pts/0 Ss 14:44 0:00 /bin/bashroot 3302 0.0 0.1 110244 1152 pts/0 R+ 14:44 0:00 ps -aux |
要是想查看进程的父进程的id(PPID),可以使用命令“ps -ef”
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | [root@host-loubth 桌面]# ps -efUID PID PPID C STIME TTY TIME CMDroot 1 0 0 14:00 ? 00:00:02 /sbin/initroot 2 0 0 14:00 ? 00:00:00 [kthreadd]root 3 2 0 14:00 ? 00:00:00 [migration/0]root 4 2 0 14:00 ? 00:00:00 [ksoftirqd/0]root 5 2 0 14:00 ? 00:00:00 [stopper/0]root 6 2 0 14:00 ? 00:00:00 [watchdog/0]root 7 2 0 14:00 ? 00:00:09 [events/0]root 8 2 0 14:00 ? 00:00:00 [events/0]root 9 2 0 14:00 ? 00:00:00 [events_long/0]root 10 2 0 14:00 ? 00:00:00 [events_power_ef]root 11 2 0 14:00 ? 00:00:00 [cgroup]root 12 2 0 14:00 ? 00:00:00 [khelper]root 13 2 0 14:00 ? 00:00:00 [netns]root 14 2 0 14:00 ? 00:00:00 [async/mgr]root 15 2 0 14:00 ? 00:00:00 [pm]root 16 2 0 14:00 ? 00:00:00 [sync_supers]root 17 2 0 14:00 ? 00:00:00 [bdi-default]root 18 2 0 14:00 ? 00:00:00 [kintegrityd/0]root 19 2 0 14:00 ? 00:00:00 [kblockd/0]root 20 2 0 14:00 ? 00:00:00 [kacpid]root 21 2 0 14:00 ? 00:00:00 [kacpi_notify]root 22 2 0 14:00 ? 00:00:00 [kacpi_hotplug]root 23 2 0 14:00 ? 00:00:00 [ata_aux]root 24 2 0 14:00 ? 00:00:00 [ata_sff/0]root 25 2 0 14:00 ? 00:00:00 [ksuspend_usbd]root 26 2 0 14:00 ? 00:00:00 [khubd]root 27 2 0 14:00 ? 00:00:00 [kseriod]root 28 2 0 14:00 ? 00:00:00 [md/0]root 29 2 0 14:00 ? 00:00:00 [md_misc/0]root 30 2 0 14:00 ? 00:00:00 [linkwatch]root 33 2 0 14:00 ? 00:00:00 [khungtaskd]root 34 2 0 14:00 ? 00:00:00 [kswapd0]root 35 2 0 14:00 ? 00:00:00 [ksmd]root 36 2 0 14:00 ? 00:00:00 [khugepaged]root 37 2 0 14:00 ? 00:00:00 [aio/0]root 38 2 0 14:00 ? 00:00:00 [crypto/0]root 45 2 0 14:00 ? 00:00:00 [kthrotld/0]root 46 2 0 14:00 ? 00:00:00 [pciehpd]root 48 2 0 14:00 ? 00:00:00 [kpsmoused]root 49 2 0 14:00 ? 00:00:00 [usbhid_resumer]root 50 2 0 14:00 ? 00:00:00 [deferwq]root 82 2 0 14:00 ? 00:00:00 [kdmremove]root 83 2 0 14:00 ? 00:00:00 [kstriped]root 114 2 0 14:00 ? 00:00:00 [ttm_swap]root 232 2 0 14:00 ? 00:00:00 [mpt_poll_0]root 233 2 0 14:00 ? 00:00:00 [mpt/0]root 234 2 0 14:00 ? 00:00:00 [scsi_eh_0]root 240 2 0 14:00 ? 00:00:00 [scsi_eh_1]root 241 2 0 14:00 ? 00:00:00 [scsi_eh_2]root 418 2 0 14:00 ? 00:00:00 [jbd2/sda3-8]root 419 2 0 14:00 ? 00:00:00 [ext4-dio-unwrit]root 518 1 0 14:01 ? 00:00:00 /sbin/udevd -droot 740 2 0 14:01 ? 00:00:00 [flush-8:0]root 776 2 0 14:01 ? 00:00:00 [vmmemctl]root 1089 2 0 14:01 ? 00:00:00 [jbd2/sdb1-8]root 1090 2 0 14:01 ? 00:00:00 [ext4-dio-unwrit]root 1091 2 0 14:01 ? 00:00:00 [jbd2/sda1-8]root 1092 2 0 14:01 ? 00:00:00 [ext4-dio-unwrit]root 1138 2 0 14:01 ? 00:00:00 [kauditd]root 1509 1 0 14:01 ? 00:00:00 /usr/sbin/vmware-vmblock-fuse -o subtype=vmware-vmbroot 1545 1 0 14:01 ? 00:00:10 /usr/sbin/vmtoolsdroot 1600 1 0 14:01 ? 00:00:00 /usr/lib/vmware-vgauth/VGAuthService -sroot 1725 1 0 14:01 ? 00:00:04 /usr/lib/vmware-caf/pme/bin/ManagementAgentHostroot 1965 1 0 14:01 ? 00:00:00 auditdroot 1989 1 0 14:01 ? 00:00:00 /sbin/portreserveroot 1999 1 0 14:01 ? 00:00:00 /sbin/rsyslogd -i /var/run/syslogd.pid -c 5dbus 2050 1 0 14:01 ? 00:00:00 dbus-daemon --systemroot 2064 1 0 14:01 ? 00:00:00 NetworkManager --pid-file=/var/run/NetworkManager/Nroot 2070 1 0 14:01 ? 00:00:00 /usr/sbin/modem-managerroot 2095 1 0 14:01 ? 00:00:00 cupsd -C /etc/cups/cupsd.confroot 2096 1 0 14:01 ? 00:00:00 /usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wparoot 2176 1 0 14:01 ? 00:00:00 /usr/sbin/acpid68 2194 1 0 14:01 ? 00:00:00 haldroot 2195 2194 0 14:01 ? 00:00:00 hald-runnerroot 2240 2195 0 14:01 ? 00:00:00 hald-addon-input: Listening on /dev/input/event2 /d68 2247 2195 0 14:01 ? 00:00:00 hald-addon-acpi: listening on acpid socket /var/runroot 2278 1 0 14:01 ? 00:00:00 /usr/sbin/sshdroot 2456 1 0 14:01 ? 00:00:00 /usr/libexec/postfix/masterpostfix 2463 2456 0 14:01 ? 00:00:00 pickup -l -t fifo -upostfix 2464 2456 0 14:01 ? 00:00:00 qmgr -l -t fifo -uroot 2485 1 0 14:01 ? 00:00:00 /usr/sbin/abrtdroot 2497 1 0 14:01 ? 00:00:01 crondroot 2512 1 0 14:01 ? 00:00:00 /usr/sbin/atdroot 2520 1 0 14:01 ? 00:00:00 /usr/sbin/gdm-binary -nodaemonroot 2525 1 0 14:01 tty2 00:00:00 /sbin/mingetty /dev/tty2root 2527 1 0 14:01 tty3 00:00:00 /sbin/mingetty /dev/tty3root 2529 1 0 14:01 tty4 00:00:00 /sbin/mingetty /dev/tty4root 2531 1 0 14:01 tty5 00:00:00 /sbin/mingetty /dev/tty5root 2533 1 0 14:01 tty6 00:00:00 /sbin/mingetty /dev/tty6root 2540 518 0 14:01 ? 00:00:00 /sbin/udevd -droot 2541 518 0 14:01 ? 00:00:00 /sbin/udevd -droot 2556 2520 0 14:01 ? 00:00:00 /usr/libexec/gdm-simple-slave --display-id /org/gnoroot 2559 2556 0 14:01 tty1 00:00:34 /usr/bin/Xorg :0 -br -verbose -audit 4 -auth /var/rroot 2573 1 0 14:01 ? 00:00:00 /usr/sbin/console-kit-daemon --no-daemongdm 2643 1 0 14:01 ? 00:00:00 /usr/bin/dbus-launch --exit-with-sessionroot 2649 1 0 14:01 ? 00:00:00 /usr/libexec/devkit-power-daemonroot 2692 1 0 14:01 ? 00:00:00 /usr/libexec/polkit-1/polkitdrtkit 2701 1 0 14:01 ? 00:00:00 /usr/libexec/rtkit-daemonroot 2707 2556 0 14:01 ? 00:00:00 pam: gdm-passwordroot 2747 1 0 14:21 ? 00:00:00 /usr/bin/gnome-keyring-daemon --daemonize --loginroot 2757 2707 0 14:21 ? 00:00:00 gnome-sessionroot 2765 1 0 14:21 ? 00:00:00 dbus-launch --sh-syntax --exit-with-sessionroot 2766 1 0 14:21 ? 00:00:00 /bin/dbus-daemon --fork --print-pid 5 --print-addreroot 2826 1 0 14:21 ? 00:00:00 /usr/libexec/gconfd-2root 2832 1 0 14:21 ? 00:00:00 /usr/libexec/gnome-settings-daemonroot 2836 1 0 14:21 ? 00:00:00 seahorse-daemonroot 2841 1 0 14:21 ? 00:00:00 /usr/libexec/gvfsdroot 2845 1 0 14:21 ? 00:00:00 /usr/libexec//gvfs-fuse-daemon /root/.gvfsroot 2852 2757 0 14:21 ? 00:00:01 metacityroot 2860 2757 0 14:21 ? 00:00:00 gnome-panelroot 2864 2757 0 14:21 ? 00:00:03 nautilusroot 2866 1 0 14:21 ? 00:00:00 /usr/libexec/bonobo-activation-server --ac-activateroot 2874 1 0 14:21 ? 00:00:00 /usr/libexec/gvfs-gdu-volume-monitorroot 2875 2757 0 14:21 ? 00:00:00 bluetooth-appletroot 2876 2757 0 14:21 ? 00:00:00 /usr/sbin/restorecond -uroot 2879 1 0 14:21 ? 00:00:00 /usr/libexec/wnck-applet --oaf-activate-iid=OAFIID:root 2882 1 0 14:21 ? 00:00:00 /usr/libexec/trashapplet --oaf-activate-iid=OAFIID:root 2884 1 0 14:21 ? 00:00:09 /usr/lib/vmware-tools/sbin64/vmtoolsd -n vmusr --blroot 2886 2757 0 14:21 ? 00:00:00 abrt-appletroot 2887 2757 0 14:21 ? 00:00:00 /usr/libexec/gdu-notification-daemonroot 2889 1 0 14:21 ? 00:00:00 /usr/libexec/udisks-daemonroot 2892 2757 0 14:21 ? 00:00:00 gnome-power-managerroot 2894 1 0 14:21 ? 00:00:00 /usr/libexec/im-settings-daemonroot 2895 2757 0 14:21 ? 00:00:00 nm-applet --sm-disableroot 2900 2757 0 14:21 ? 00:00:00 /usr/libexec/polkit-gnome-authentication-agent-1root 2902 1 0 14:21 ? 00:00:08 /usr/bin/pulseaudio --startroot 2904 2757 0 14:21 ? 00:00:00 gpk-update-iconroot 2906 2757 0 14:21 ? 00:00:00 gnome-volume-control-appletroot 2919 2902 0 14:21 ? 00:00:00 /usr/libexec/pulse/gconf-helperroot 2922 2889 0 14:21 ? 00:00:00 udisks-daemon: polling /dev/sr0root 2924 1 0 14:21 ? 00:00:00 /usr/libexec/gvfsd-trash --spawner :1.8 /org/gtk/gvroot 2929 1 0 14:21 ? 00:00:01 gnome-screensaverroot 2988 1 0 14:21 ? 00:00:00 /usr/libexec/gvfs-gphoto2-volume-monitorroot 2996 1 0 14:21 ? 00:00:00 /usr/libexec/gvfs-afc-volume-monitorroot 3086 1 0 14:21 ? 00:00:00 /usr/libexec/clock-applet --oaf-activate-iid=OAFIIDroot 3087 1 0 14:21 ? 00:00:00 /usr/bin/gnote --panel-applet --oaf-activate-iid=OAroot 3088 1 0 14:21 ? 00:00:00 /usr/libexec/gdm-user-switch-applet --oaf-activate-root 3092 1 0 14:21 ? 00:00:00 /usr/libexec/notification-area-applet --oaf-activatroot 3140 2894 0 14:21 ? 00:00:01 /usr/bin/ibus-daemon -r --ximroot 3143 1 0 14:21 ? 00:00:00 /usr/libexec/gconf-im-settings-daemonroot 3144 3140 0 14:21 ? 00:00:00 /usr/libexec/ibus-gconfroot 3146 3140 0 14:21 ? 00:00:01 python /usr/share/ibus/ui/gtk/main.pyroot 3148 1 0 14:21 ? 00:00:00 /usr/libexec/ibus-x11 --kill-daemonroot 3149 3140 0 14:21 ? 00:00:00 /usr/libexec/ibus-engine-pinyin --ibusroot 3167 1 0 14:21 ? 00:00:00 /usr/libexec/gvfsd-burn --spawner :1.8 /org/gtk/gvfroot 3178 1 0 14:21 ? 00:00:00 /usr/libexec/gvfsd-metadataroot 3337 1 0 15:01 ? 00:00:00 /usr/sbin/anacron -sroot 3397 1 0 15:16 ? 00:00:00 /usr/sbin/packagekitdroot 3407 1 2 15:20 ? 00:00:00 /usr/bin/gnome-terminal -x /bin/sh -c cd '/root/桌root 3408 3407 0 15:20 ? 00:00:00 gnome-pty-helperroot 3409 3407 0 15:20 pts/0 00:00:00 /bin/bashroot 3419 3409 0 15:20 pts/0 00:00:00 ps -ef |
终止进程
终止进程使用kill或killall命令
kill命令用来删除执行中的程序或工作。kill可将指定的信息送至程序。预设的信息为SIGTERM(15),可将指定程序终止。若仍无法终止该程序,可使用SIGKILL(9)信息尝试强制删除程序。程序或工作的编号可利用ps命令或job命令查看
常用的信号:
1 2 3 4 5 6 7 | HUP 1 终端断线INT 2 中断(同 Ctrl + C)QUIT 3 退出(同 Ctrl + \)TERM 15 终止KILL 9 强制终止CONT 18 继续(与STOP相反, fg/bg命令)STOP 19 暂停(同 Ctrl + Z) |
基本语法
基本语法:kill [选项] 进程id
基本语法:killall [选项] 进程名称
常用选项
- -9 强制终止进程
示例(踢除某个远程登录的用户)
思路:远程登录用到的是sshd程序,我们首先要找到要踢除的用户使用的进程,获取其进程id,然后使用kill命令终止这个进程,就可以踢除这个远程登录的用户
- 找到要踢除的用户使用的进程,获取其进程id
123456
[root@host-loubth 桌面]# ps -aux | grep sshdWarning: bad syntax, perhaps a bogus'-'? See/usr/share/doc/procps-3.2.8/FAQroot 2278 0.0 0.1 66236 1204 ? Ss 14:01 0:00/usr/sbin/sshdroot 4181 0.7 0.4 102084 4040 ? Ss 17:36 0:00 sshd: zwj [priv]zwj 4185 0.0 0.1 102084 1836 ? S 17:36 0:00 sshd: zwj@pts/2root 4212 0.0 0.0 103332 860 pts/1S+ 17:37 0:00grepsshd可以看到pid为4185
- 终止这个进程
1234567891011
[root@host-loubth 桌面]# ps -aux | grep sshdWarning: bad syntax, perhaps a bogus'-'? See/usr/share/doc/procps-3.2.8/FAQroot 2278 0.0 0.1 66236 1204 ? Ss 14:01 0:00/usr/sbin/sshdroot 4181 0.7 0.4 102084 4040 ? Ss 17:36 0:00 sshd: zwj [priv]zwj 4185 0.0 0.1 102084 1836 ? S 17:36 0:00 sshd: zwj@pts/2root 4212 0.0 0.0 103332 860 pts/1S+ 17:37 0:00grepsshd[root@host-loubth 桌面]# kill 4185[root@host-loubth 桌面]# ps -aux | grep sshdWarning: bad syntax, perhaps a bogus'-'? See/usr/share/doc/procps-3.2.8/FAQroot 2278 0.0 0.1 66236 1204 ? Ss 14:01 0:00/usr/sbin/sshdroot 4219 0.0 0.0 103332 856 pts/1S+ 17:41 0:00grepsshd
可以看到该进程已经被终止,此时远程登录的该用户被迫下线
提示:若想要终止所有远程登录的用户进程,直接终止sshd服务的进程即可
示例(终止bash终端)
linux的终端程序是bash,我们打开多个终端,查看一下相关的进程,尝试使用kill命令看是否能正常终止bash终端进程
1 2 3 4 5 6 7 8 9 10 11 12 13 | [root@host-loubth 桌面]# ps -aux | grep bashWarning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQroot 4308 0.0 0.1 108480 1836 pts/0 Ss+ 17:55 0:00 /bin/bashroot 4320 0.0 0.1 108480 1836 pts/1 Ss+ 17:55 0:00 /bin/bashroot 4331 0.0 0.1 108480 1844 pts/2 Ss 17:55 0:00 /bin/bashroot 4341 0.0 0.0 103328 852 pts/2 S+ 17:55 0:00 grep bash[root@host-loubth 桌面]# kill 4308[root@host-loubth 桌面]# ps -aux | grep bashWarning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQroot 4308 0.0 0.1 108480 1836 pts/0 Ss+ 17:55 0:00 /bin/bashroot 4320 0.0 0.1 108480 1836 pts/1 Ss+ 17:55 0:00 /bin/bashroot 4331 0.0 0.1 108480 1852 pts/2 Ss 17:55 0:00 /bin/bashroot 4343 0.0 0.0 103328 852 pts/2 S+ 17:57 0:00 grep bash |
可以看到结果并没有如我们想象一样成功终止bash终端进程,这是因为系统认为bash是比较重要的进程,忽略了该条kill命令,可如果我们就是想要关闭bash终端进程呢?这时我们就需要使用kill命令的“-9”选项来强制关闭进程了
1 2 3 4 5 6 7 8 9 10 11 12 | [root@host-loubth 桌面]# ps -aux | grep bashWarning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQroot 4308 0.0 0.1 108480 1836 pts/0 Ss+ 17:55 0:00 /bin/bashroot 4320 0.0 0.1 108480 1836 pts/1 Ss+ 17:55 0:00 /bin/bashroot 4331 0.0 0.1 108480 1852 pts/2 Ss 17:55 0:00 /bin/bashroot 4343 0.0 0.0 103328 852 pts/2 S+ 17:57 0:00 grep bash[root@host-loubth 桌面]# kill -9 4308[root@host-loubth 桌面]# ps -aux | grep bashWarning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQroot 4320 0.0 0.1 108480 1836 pts/1 Ss+ 17:55 0:00 /bin/bashroot 4331 0.0 0.1 108480 1860 pts/2 Ss 17:55 0:00 /bin/bashroot 4350 0.0 0.0 103328 852 pts/2 S+ 18:00 0:00 grep bash |
这次我们就成功关闭了一个bash终端进程了
如果我们想要一下关闭所有bash终端进程,就需要使用killall命令了,因为killall命令可以直接通过进程名称关闭进程,它可以一次性将匹配名称的进程全部关闭
1 2 3 4 5 6 7 | [root@host-loubth 桌面]# ps -aux | grep bashWarning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQroot 4368 0.0 0.1 108480 1840 pts/0 Ss+ 18:04 0:00 /bin/bashroot 4380 0.1 0.1 108480 1840 pts/1 Ss+ 18:04 0:00 /bin/bashroot 4391 0.2 0.1 108480 1840 pts/2 Ss 18:04 0:00 /bin/bashroot 4401 0.0 0.0 103328 852 pts/2 S+ 18:04 0:00 grep bash[root@host-loubth 桌面]# killall -9 bash |
我们可以观察到的结果就是所有bash终端(包括运行killall命令的终端本身)的窗口一次性全部关闭了
查看进程树
pstree命令以树状图的方式展现进程之间的派生关系,显示效果比较直观
基本语法
基本语法:pstree [选项]
常用选项
- -p 显示进程的PID
- -u 显示进程的所属用户
示例
- pstree
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
[root@host-loubth 桌面]# pstreeinit─┬─ManagementAgent───2*[{ManagementAgen}]├─NetworkManager├─VGAuthService├─abrtd├─acpid├─atd├─auditd───{auditd}├─bonobo-activati───{bonobo-activat}├─clock-applet├─console-kit-dae───63*[{console-kit-da}]├─crond├─cupsd├─2*[dbus-daemon───{dbus-daemon}]├─2*[dbus-launch]├─devkit-power-da├─gconf-im-settin├─gconfd-2├─gdm-binary─┬─gdm-simple-slav─┬─Xorg│ │ ├─gdm-session-wor─┬─gnome-session─┬─abrt-ap+│ │ │ │ ├─bluetoo+│ │ │ │ ├─gdu-not+│ │ │ │ ├─gnome-p+│ │ │ │ ├─gnome-p+│ │ │ │ ├─gnome-v+│ │ │ │ ├─gpk-upd+│ │ │ │ ├─metacit+│ │ │ │ ├─nautilu+│ │ │ │ ├─nm-appl+│ │ │ │ ├─polkit-+│ │ │ │ ├─restore+│ │ │ │ └─{gnome-+│ │ │ └─{gdm-session-wo}│ │ └─{gdm-simple-sla}│ └─{gdm-binary}├─gdm-user-switch├─gnome-keyring-d───2*[{gnome-keyring-}]├─gnome-screensav├─gnome-settings-───{gnome-settings}├─gnome-terminal─┬─bash───pstree│ ├─gnome-pty-helpe│ └─{gnome-terminal}├─gnote├─gvfs-afc-volume───{gvfs-afc-volum}├─gvfs-fuse-daemo───3*[{gvfs-fuse-daem}]├─gvfs-gdu-volume├─gvfs-gphoto2-vo├─gvfsd├─gvfsd-burn├─gvfsd-metadata├─gvfsd-trash├─hald─┬─hald-runner─┬─hald-addon-acpi│ │ └─hald-addon-inpu│ └─{hald}├─ibus-x11├─im-settings-dae─┬─ibus-daemon─┬─ibus-engine-pin│ │ ├─ibus-gconf│ │ ├─python│ │ └─{ibus-daemon}│ └─{im-settings-da}├─master─┬─pickup│ └─qmgr├─5*[mingetty]├─modem-manager├─notification-ar├─polkitd├─portreserve├─pulseaudio─┬─gconf-helper│ └─2*[{pulseaudio}]├─rsyslogd───3*[{rsyslogd}]├─rtkit-daemon───2*[{rtkit-daemon}]├─seahorse-daemon├─sshd├─trashapplet├─udevd───2*[udevd]├─udisks-daemon─┬─udisks-daemon│ └─{udisks-daemon}├─vmtoolsd───{vmtoolsd}├─vmtoolsd├─vmware-vmblock-───2*[{vmware-vmblock}]├─wnck-applet└─wpa_supplicant - pstree -p
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
[root@host-loubth 桌面]# pstree -pinit(1)─┬─ManagementAgent(1725)─┬─{ManagementAgen}(1733)│ └─{ManagementAgen}(1734)├─NetworkManager(2064)├─VGAuthService(1600)├─abrtd(2485)├─acpid(2176)├─atd(2512)├─auditd(1965)───{auditd}(1966)├─bonobo-activati(2866)───{bonobo-activat}(2867)├─clock-applet(3086)├─console-kit-dae(2573)─┬─{console-kit-da}(2574)│ ├─{console-kit-da}(2575)│ ├─{console-kit-da}(2576)│ ├─{console-kit-da}(2577)│ ├─{console-kit-da}(2578)│ ├─{console-kit-da}(2579)│ ├─{console-kit-da}(2580)│ ├─{console-kit-da}(2581)│ ├─{console-kit-da}(2582)│ ├─{console-kit-da}(2583)│ ├─{console-kit-da}(2584)│ ├─{console-kit-da}(2585)│ ├─{console-kit-da}(2586)│ ├─{console-kit-da}(2587)│ ├─{console-kit-da}(2588)│ ├─{console-kit-da}(2589)│ ├─{console-kit-da}(2590)│ ├─{console-kit-da}(2591)│ ├─{console-kit-da}(2592)│ ├─{console-kit-da}(2593)│ ├─{console-kit-da}(2594)│ ├─{console-kit-da}(2595)│ ├─{console-kit-da}(2596)│ ├─{console-kit-da}(2597)│ ├─{console-kit-da}(2598)│ ├─{console-kit-da}(2599)│ ├─{console-kit-da}(2600)│ ├─{console-kit-da}(2601)│ ├─{console-kit-da}(2602)│ ├─{console-kit-da}(2603)│ ├─{console-kit-da}(2604)│ ├─{console-kit-da}(2605)│ ├─{console-kit-da}(2606)│ ├─{console-kit-da}(2607)│ ├─{console-kit-da}(2608)│ ├─{console-kit-da}(2609)│ ├─{console-kit-da}(2610)│ ├─{console-kit-da}(2611)│ ├─{console-kit-da}(2612)│ ├─{console-kit-da}(2613)│ ├─{console-kit-da}(2614)│ ├─{console-kit-da}(2615)│ ├─{console-kit-da}(2616)│ ├─{console-kit-da}(2617)│ ├─{console-kit-da}(2618)│ ├─{console-kit-da}(2619)│ ├─{console-kit-da}(2620)│ ├─{console-kit-da}(2621)│ ├─{console-kit-da}(2622)│ ├─{console-kit-da}(2623)│ ├─{console-kit-da}(2624)│ ├─{console-kit-da}(2625)│ ├─{console-kit-da}(2626)│ ├─{console-kit-da}(2627)│ ├─{console-kit-da}(2628)│ ├─{console-kit-da}(2629)│ ├─{console-kit-da}(2630)│ ├─{console-kit-da}(2631)│ ├─{console-kit-da}(2632)│ ├─{console-kit-da}(2633)│ ├─{console-kit-da}(2634)│ ├─{console-kit-da}(2635)│ └─{console-kit-da}(2637)├─crond(2497)├─cupsd(2095)├─dbus-daemon(2766)───{dbus-daemon}(2767)├─dbus-daemon(2050)───{dbus-daemon}(2052)├─dbus-launch(2765)├─dbus-launch(2643)├─devkit-power-da(2649)├─gconf-im-settin(3143)├─gconfd-2(2826)├─gdm-binary(2520)─┬─gdm-simple-slav(2556)─┬─Xorg(2559)│ │ ├─gdm-session-wor(2707)─┬─gn+│ │ │ └─{g+│ │ └─{gdm-simple-sla}(2560)│ └─{gdm-binary}(2557)├─gdm-user-switch(3088)├─gnome-keyring-d(2747)─┬─{gnome-keyring-}(2748)│ └─{gnome-keyring-}(2835)├─gnome-screensav(2929)├─gnome-settings-(2832)───{gnome-settings}(2838)├─gnome-terminal(4673)─┬─bash(4675)───pstree(4685)│ ├─gnome-pty-helpe(4674)│ └─{gnome-terminal}(4676)├─gnote(3087)├─gvfs-afc-volume(2996)───{gvfs-afc-volum}(3003)├─gvfs-fuse-daemo(2845)─┬─{gvfs-fuse-daem}(2846)│ ├─{gvfs-fuse-daem}(2847)│ └─{gvfs-fuse-daem}(2848)├─gvfs-gdu-volume(2874)├─gvfs-gphoto2-vo(2988)├─gvfsd(2841)├─gvfsd-burn(3167)├─gvfsd-metadata(3178)├─gvfsd-trash(2924)├─hald(2194)─┬─hald-runner(2195)─┬─hald-addon-acpi(2247)│ │ └─hald-addon-inpu(2240)│ └─{hald}(2196)├─ibus-x11(3148)├─im-settings-dae(2894)─┬─ibus-daemon(3140)─┬─ibus-engine-pin(3149)│ │ ├─ibus-gconf(3144)│ │ ├─python(3146)│ │ └─{ibus-daemon}(3145)│ └─{im-settings-da}(3141)├─master(2456)─┬─pickup(4610)│ └─qmgr(2464)├─mingetty(2525)├─mingetty(2527)├─mingetty(2529)├─mingetty(2531)├─mingetty(2533)├─modem-manager(2070)├─notification-ar(3092)├─polkitd(2692)├─portreserve(1989)├─pulseaudio(2902)─┬─gconf-helper(2919)│ ├─{pulseaudio}(2908)│ └─{pulseaudio}(2909)├─rsyslogd(1999)─┬─{rsyslogd}(2000)│ ├─{rsyslogd}(2002)│ └─{rsyslogd}(2003)├─rtkit-daemon(2701)─┬─{rtkit-daemon}(2702)│ └─{rtkit-daemon}(2703)├─seahorse-daemon(2836)├─sshd(2278)├─trashapplet(2882)├─udevd(518)─┬─udevd(2540)│ └─udevd(2541)├─udisks-daemon(2889)─┬─udisks-daemon(2922)│ └─{udisks-daemon}(3170)├─vmtoolsd(1545)───{vmtoolsd}(1675)├─vmtoolsd(2884)├─vmware-vmblock-(1509)─┬─{vmware-vmblock}(1512)│ └─{vmware-vmblock}(1514)├─wnck-applet(2879)└─wpa_supplicant(2096) - pstree -u
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
[root@host-loubth 桌面]# pstree -uinit─┬─ManagementAgent───2*[{ManagementAgen}]├─NetworkManager├─VGAuthService├─abrtd├─acpid├─atd├─auditd───{auditd}├─bonobo-activati───{bonobo-activat}├─clock-applet├─console-kit-dae───63*[{console-kit-da}]├─crond├─cupsd├─dbus-daemon───{dbus-daemon}├─dbus-daemon(dbus)───{dbus-daemon}├─dbus-launch├─dbus-launch(gdm)├─devkit-power-da├─gconf-im-settin├─gconfd-2├─gdm-binary─┬─gdm-simple-slav─┬─Xorg│ │ ├─gdm-session-wor─┬─gnome-session─┬─abrt-ap+│ │ │ │ ├─bluetoo+│ │ │ │ ├─gdu-not+│ │ │ │ ├─gnome-p+│ │ │ │ ├─gnome-p+│ │ │ │ ├─gnome-v+│ │ │ │ ├─gpk-upd+│ │ │ │ ├─metacit+│ │ │ │ ├─nautilu+│ │ │ │ ├─nm-appl+│ │ │ │ ├─polkit-+│ │ │ │ ├─restore+│ │ │ │ └─{gnome-+│ │ │ └─{gdm-session-wo}│ │ └─{gdm-simple-sla}│ └─{gdm-binary}├─gdm-user-switch├─gnome-keyring-d───2*[{gnome-keyring-}]├─gnome-screensav├─gnome-settings-───{gnome-settings}├─gnome-terminal─┬─bash───pstree│ ├─gnome-pty-helpe│ └─{gnome-terminal}├─gnote├─gvfs-afc-volume───{gvfs-afc-volum}├─gvfs-fuse-daemo───3*[{gvfs-fuse-daem}]├─gvfs-gdu-volume├─gvfs-gphoto2-vo├─gvfsd├─gvfsd-burn├─gvfsd-metadata├─gvfsd-trash├─hald(haldaemon)─┬─hald-runner(root)─┬─hald-addon-acpi(haldaemon)│ │ └─hald-addon-inpu│ └─{hald}├─ibus-x11├─im-settings-dae─┬─ibus-daemon─┬─ibus-engine-pin│ │ ├─ibus-gconf│ │ ├─python│ │ └─{ibus-daemon}│ └─{im-settings-da}├─master─┬─pickup(postfix)│ └─qmgr(postfix)├─5*[mingetty]├─modem-manager├─notification-ar├─polkitd├─portreserve├─pulseaudio─┬─gconf-helper│ └─2*[{pulseaudio}]├─rsyslogd───3*[{rsyslogd}]├─rtkit-daemon(rtkit)───2*[{rtkit-daemon}]├─seahorse-daemon├─sshd├─trashapplet├─udevd───2*[udevd]├─udisks-daemon─┬─udisks-daemon│ └─{udisks-daemon}├─vmtoolsd───{vmtoolsd}├─vmtoolsd├─vmware-vmblock-───2*[{vmware-vmblock}]├─wnck-applet└─wpa_supplicant - pstree -up
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
[root@host-loubth 桌面]# pstree -upinit(1)─┬─ManagementAgent(1725)─┬─{ManagementAgen}(1733)│ └─{ManagementAgen}(1734)├─NetworkManager(2064)├─VGAuthService(1600)├─abrtd(2485)├─acpid(2176)├─atd(2512)├─auditd(1965)───{auditd}(1966)├─bonobo-activati(2866)───{bonobo-activat}(2867)├─clock-applet(3086)├─console-kit-dae(2573)─┬─{console-kit-da}(2574)│ ├─{console-kit-da}(2575)│ ├─{console-kit-da}(2576)│ ├─{console-kit-da}(2577)│ ├─{console-kit-da}(2578)│ ├─{console-kit-da}(2579)│ ├─{console-kit-da}(2580)│ ├─{console-kit-da}(2581)│ ├─{console-kit-da}(2582)│ ├─{console-kit-da}(2583)│ ├─{console-kit-da}(2584)│ ├─{console-kit-da}(2585)│ ├─{console-kit-da}(2586)│ ├─{console-kit-da}(2587)│ ├─{console-kit-da}(2588)│ ├─{console-kit-da}(2589)│ ├─{console-kit-da}(2590)│ ├─{console-kit-da}(2591)│ ├─{console-kit-da}(2592)│ ├─{console-kit-da}(2593)│ ├─{console-kit-da}(2594)│ ├─{console-kit-da}(2595)│ ├─{console-kit-da}(2596)│ ├─{console-kit-da}(2597)│ ├─{console-kit-da}(2598)│ ├─{console-kit-da}(2599)│ ├─{console-kit-da}(2600)│ ├─{console-kit-da}(2601)│ ├─{console-kit-da}(2602)│ ├─{console-kit-da}(2603)│ ├─{console-kit-da}(2604)│ ├─{console-kit-da}(2605)│ ├─{console-kit-da}(2606)│ ├─{console-kit-da}(2607)│ ├─{console-kit-da}(2608)│ ├─{console-kit-da}(2609)│ ├─{console-kit-da}(2610)│ ├─{console-kit-da}(2611)│ ├─{console-kit-da}(2612)│ ├─{console-kit-da}(2613)│ ├─{console-kit-da}(2614)│ ├─{console-kit-da}(2615)│ ├─{console-kit-da}(2616)│ ├─{console-kit-da}(2617)│ ├─{console-kit-da}(2618)│ ├─{console-kit-da}(2619)│ ├─{console-kit-da}(2620)│ ├─{console-kit-da}(2621)│ ├─{console-kit-da}(2622)│ ├─{console-kit-da}(2623)│ ├─{console-kit-da}(2624)│ ├─{console-kit-da}(2625)│ ├─{console-kit-da}(2626)│ ├─{console-kit-da}(2627)│ ├─{console-kit-da}(2628)│ ├─{console-kit-da}(2629)│ ├─{console-kit-da}(2630)│ ├─{console-kit-da}(2631)│ ├─{console-kit-da}(2632)│ ├─{console-kit-da}(2633)│ ├─{console-kit-da}(2634)│ ├─{console-kit-da}(2635)│ └─{console-kit-da}(2637)├─crond(2497)├─cupsd(2095)├─dbus-daemon(2766)───{dbus-daemon}(2767)├─dbus-daemon(2050,dbus)───{dbus-daemon}(2052)├─dbus-launch(2765)├─dbus-launch(2643,gdm)├─devkit-power-da(2649)├─gconf-im-settin(3143)├─gconfd-2(2826)├─gdm-binary(2520)─┬─gdm-simple-slav(2556)─┬─Xorg(2559)│ │ ├─gdm-session-wor(2707)─┬─gn+│ │ │ └─{g+│ │ └─{gdm-simple-sla}(2560)│ └─{gdm-binary}(2557)├─gdm-user-switch(3088)├─gnome-keyring-d(2747)─┬─{gnome-keyring-}(2748)│ └─{gnome-keyring-}(2835)├─gnome-screensav(2929)├─gnome-settings-(2832)───{gnome-settings}(2838)├─gnome-terminal(4687)─┬─bash(4689)│ ├─bash(4702)───pstree(4711)│ ├─gnome-pty-helpe(4688)│ └─{gnome-terminal}(4690)├─gnote(3087)├─gvfs-afc-volume(2996)───{gvfs-afc-volum}(3003)├─gvfs-fuse-daemo(2845)─┬─{gvfs-fuse-daem}(2846)│ ├─{gvfs-fuse-daem}(2847)│ └─{gvfs-fuse-daem}(2848)├─gvfs-gdu-volume(2874)├─gvfs-gphoto2-vo(2988)├─gvfsd(2841)├─gvfsd-burn(3167)├─gvfsd-metadata(3178)├─gvfsd-trash(2924)├─hald(2194,haldaemon)─┬─hald-runner(2195,root)─┬─hald-addon-acpi(2247,+│ │ └─hald-addon-inpu(2240)│ └─{hald}(2196)├─ibus-x11(3148)├─im-settings-dae(2894)─┬─ibus-daemon(3140)─┬─ibus-engine-pin(3149)│ │ ├─ibus-gconf(3144)│ │ ├─python(3146)│ │ └─{ibus-daemon}(3145)│ └─{im-settings-da}(3141)├─master(2456)─┬─pickup(4610,postfix)│ └─qmgr(2464,postfix)├─mingetty(2525)├─mingetty(2527)├─mingetty(2529)├─mingetty(2531)├─mingetty(2533)├─modem-manager(2070)├─notification-ar(3092)├─polkitd(2692)├─portreserve(1989)├─pulseaudio(2902)─┬─gconf-helper(2919)│ ├─{pulseaudio}(2908)│ └─{pulseaudio}(2909)├─rsyslogd(1999)─┬─{rsyslogd}(2000)│ ├─{rsyslogd}(2002)│ └─{rsyslogd}(2003)├─rtkit-daemon(2701,rtkit)─┬─{rtkit-daemon}(2702)│ └─{rtkit-daemon}(2703)├─seahorse-daemon(2836)├─sshd(2278)├─trashapplet(2882)├─udevd(518)─┬─udevd(2540)│ └─udevd(2541)├─udisks-daemon(2889)─┬─udisks-daemon(2922)│ └─{udisks-daemon}(3170)├─vmtoolsd(1545)───{vmtoolsd}(1675)├─vmtoolsd(2884)├─vmware-vmblock-(1509)─┬─{vmware-vmblock}(1512)│ └─{vmware-vmblock}(1514)├─wnck-applet(2879)└─wpa_supplicant(2096)
服务管理(service)
介绍
服务(service)本质就是进程,但是是运行在后台的,通常都会监听某个端口,等待其它程序的请求,比如(mysql、sshd、防火墙等)
service管理命令
基本语法
基本语法:service 服务名 [start | stop | restart | reload | status]
CentOS 7.0后不再使用service命令,改成了systemctl(SYSTEM ConTroL)命令
示例(重载(、关闭、开启、重启、查看状态)防火墙(iptables服务))
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | [root@host-loubth 桌面]# service iptables reloadiptables: Trying to reload firewall rules: [确定][root@host-loubth 桌面]# service iptables stopiptables:将链设置为政策 ACCEPT:filter [确定]iptables:清除防火墙规则: [确定]iptables:正在卸载模块: [确定][root@host-loubth 桌面]# service iptables startiptables:应用防火墙规则: [确定][root@host-loubth 桌面]# service iptables restartiptables:将链设置为政策 ACCEPT:filter [确定]iptables:清除防火墙规则: [确定]iptables:正在卸载模块: [确定]iptables:应用防火墙规则: [确定][root@host-loubth 桌面]# service iptables status表格:filterChain INPUT (policy ACCEPT)num target prot opt source destination 1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 2 ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 3 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 4 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:8080 5 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80 6 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22 7 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited Chain FORWARD (policy ACCEPT)num target prot opt source destination 1 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited Chain OUTPUT (policy ACCEPT)num target prot opt source destination |
注意:这些操作都只是临时起作用,一旦系统重启,服务会恢复原样,如果希望设置某个服务自启动或关闭永久生效,要使用chkconfig命令
查看服务名
有两种方法查看服务名
-
使用“setup”命令,选择“系统服务”
-
服务文件放在“/etc/init.d/”目录下,查看这个目录即可
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960[root@host-loubth 桌面]# ll /etc/init.d/总用量 384-rwxr-xr-x. 1 root root 1288 5月 12 2016 abrt-ccpp-rwxr-xr-x. 1 root root 1628 5月 12 2016 abrtd-rwxr-xr-x. 1 root root 1642 5月 12 2016 abrt-oops-rwxr-xr-x. 1 root root 1818 2月 17 2016 acpid-rwxr-xr-x. 1 root root 2062 2月 20 2015 atd-rwxr-xr-x. 1 root root 3580 5月 11 2016 auditd-r-xr-xr-x. 1 root root 1343 5月 11 2016 blk-availability-rwxr-xr-x. 1 root root 710 11月 11 2010 bluetooth-rwxr-xr-x. 1 root root 11864 7月 24 2015 cpuspeed-rwxr-xr-x. 1 root root 2826 11月 10 2015 crond-rwxr-xr-x. 1 root root 3034 5月 11 2016 cups-rwxr-xr-x. 1 root root 1734 5月 11 2016 dnsmasq-rwxr-xr-x. 1 root root 3245 7月 9 2013 firstboot-rw-r--r--. 1 root root 25419 4月 12 2016 functions-rwxr-xr-x. 1 root root 1801 10月 15 2014 haldaemon-rwxr-xr-x. 1 root root 5985 4月 12 2016 halt-rwxr-xr-x. 1 root root 2001 5月 12 2016 htcacheclean-rwxr-xr-x. 1 root root 3488 5月 12 2016 httpd-rwxr-xr-x. 1 root root 11169 7月 24 2015 ip6tables-rwxr-xr-x. 1 root root 11048 7月 24 2015 iptables-rwxr-xr-x. 1 root root 1938 2月 2 2016 irqbalance-rwxr-xr-x. 1 root root 20634 5月 11 2016 kdump-rwxr-xr-x. 1 root root 652 4月 12 2016 killall-r-xr-xr-x. 1 root root 2137 5月 11 2016 lvm2-lvmetad-r-xr-xr-x. 1 root root 3045 5月 11 2016 lvm2-monitor-rwxr-xr-x. 1 root root 2571 12月 11 2015 mdmonitor-rwxr-xr-x. 1 root root 2200 4月 22 2015 messagebus-rwxr-xr-x. 1 root root 7992 8月 27 2018 named-rwxr-xr-x. 1 root root 2989 4月 12 2016 netconsole-rwxr-xr-x. 1 root root 5309 4月 12 2016 netfs-rwxr-xr-x. 1 root root 6406 4月 12 2016 network-rwxr-xr-x. 1 root root 2188 5月 11 2016 NetworkManager-rwxr-xr-x. 1 root root 3570 5月 11 2016 nfs-rdma-rwxr-xr-x. 1 root root 1923 1月 26 2016 ntpd-rwxr-xr-x. 1 root root 2043 1月 26 2016 ntpdate-rwxr-xr-x. 1 root root 2023 5月 11 2016 portreserve-rwxr-xr-x. 1 root root 3912 11月 10 2015 postfix-rwxr-xr-x. 1 root root 1738 5月 11 2016 pppoe-server-rwxr-xr-x. 1 root root 1556 7月 17 2012 psacct-rwxr-xr-x. 1 root root 2034 1月 7 2015 quota_nld-rwxr-xr-x. 1 root root 1513 11月 13 2015 rdisc-rwxr-xr-x. 1 root root 12709 5月 11 2016 rdma-rwxr-xr-x. 1 root root 1822 5月 11 2016 restorecond-rwxr-xr-x. 1 root root 1808 9月 22 2015 rngd-rwxr-xr-x. 1 root root 2011 12月 10 2014 rsyslog-rwxr-xr-x. 1 root root 1698 5月 11 2016 sandbox-rwxr-xr-x. 1 root root 2056 2月 27 2015 saslauthd-rwxr-xr-x. 1 root root 647 4月 12 2016 single-rwxr-xr-x. 1 root root 3002 2月 22 2013 smartd-rwxr-xr-x. 1 root root 2472 5月 11 2016 spice-vdagentd-rwxr-xr-x. 1 root root 4621 5月 11 2016 sshd-rwxr-xr-x. 1 root root 1144 5月 11 2016 sysstat-rwxr-xr-x. 1 root root 2294 5月 11 2016 udev-post-rwxr-xr-x. 1 root root 44264 5月 24 20:32 vmware-tools-rwxr-xr-x. 1 root root 15721 5月 24 20:32 vmware-tools-thinprint-rwxr-xr-x. 1 root root 1674 2月 22 2013 wdaemon-rwxr-xr-x. 1 root root 1598 5月 11 2016 winbind-rwxr-xr-x. 1 root root 1914 5月 11 2016 wpa_supplicant
服务的运行级别
运行级别说明:
所谓运行级别,简单点来说,运行级别就是操作系统当前正在运行的功能级别。级别是从0到6,具有不同的功能
- 0:系统停机,系统默认运行级别不能设置为0,否则不能正常启动,机器关闭
- 1:单用户(可用于找回丢失密码),root权限,用于系统维护,禁止远程登陆,就像Windows下的安全模式登录
- 2:多用户状态无网络服务
- 3:多用户状态有网络服务
- 4:系统未使用保留给用户
- 5:图形界面
- 6:系统重启,默认运行级别不能设为6,否则不能正常启动。运行init6机器就会重启
常用运行级别是3和5,要修改默认的运行级别可改文件/etc/inittab的id:5:initdefault:这一行中的数字
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | [root@host-loubth ~]# vim /etc/inittab# inittab is only used by upstart for the default runlevel.## ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.## System initialization is started by /etc/init/rcS.conf## Individual runlevels are started by /etc/init/rc.conf## Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf## Terminal gettys are handled by /etc/init/tty.conf and /etc/init/serial.conf,# with configuration in /etc/sysconfig/init.## For information on how to write upstart event handlers, or how# upstart works, see init(5), init(8), and initctl(8).## Default runlevel. The runlevels used are:# 0 - halt (Do NOT set initdefault to this)# 1 - Single user mode# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)# 3 - Full multiuser mode# 4 - unused# 5 - X11# 6 - reboot (Do NOT set initdefault to this)# id:5:initdefault: |
切换到指定运行级别的命令
基本语法
基本语法:init [012356]
开机的流程说明
设置不同运行级别服务的自启动
通过chkconfig命令可以给每个服务的各个运行级别设置开机自启动/关闭,注意是开机时的动作,对当前服务的处于的状态没有影响
基本语法
查看所有服务基本语法:chkconfig --list
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | [root@host-loubth 桌面]# chkconfig --listNetworkManager 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭abrt-ccpp 0:关闭 1:关闭 2:关闭 3:启用 4:关闭 5:启用 6:关闭abrtd 0:关闭 1:关闭 2:关闭 3:启用 4:关闭 5:启用 6:关闭acpid 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭atd 0:关闭 1:关闭 2:关闭 3:启用 4:启用 5:启用 6:关闭auditd 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭blk-availability 0:关闭 1:启用 2:启用 3:启用 4:启用 5:启用 6:关闭bluetooth 0:关闭 1:关闭 2:关闭 3:启用 4:启用 5:启用 6:关闭cpuspeed 0:关闭 1:启用 2:启用 3:启用 4:启用 5:启用 6:关闭crond 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭cups 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭dnsmasq 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭firstboot 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭haldaemon 0:关闭 1:关闭 2:关闭 3:启用 4:启用 5:启用 6:关闭htcacheclean 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭httpd 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭ip6tables 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭iptables 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭irqbalance 0:关闭 1:关闭 2:关闭 3:启用 4:启用 5:启用 6:关闭kdump 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭lvm2-monitor 0:关闭 1:启用 2:启用 3:启用 4:启用 5:启用 6:关闭mdmonitor 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭messagebus 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭named 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭netconsole 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭netfs 0:关闭 1:关闭 2:关闭 3:启用 4:启用 5:启用 6:关闭network 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭nfs-rdma 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭ntpd 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭ntpdate 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭portreserve 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭postfix 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭pppoe-server 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭psacct 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭quota_nld 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭rdisc 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭rdma 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭restorecond 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭rngd 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭rsyslog 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭saslauthd 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭smartd 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭spice-vdagentd 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:启用 6:关闭sshd 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭sysstat 0:关闭 1:启用 2:启用 3:启用 4:启用 5:启用 6:关闭udev-post 0:关闭 1:启用 2:启用 3:启用 4:启用 5:启用 6:关闭vmware-tools 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭vmware-tools-thinprint 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭wdaemon 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭winbind 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭wpa_supplicant 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭 |
查看具体服务基本语法:chkconfig --list 服务名
示例(查看sshd服务)
1 2 | [root@host-loubth 桌面]# chkconfig --list sshdsshd 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭 |
设置不同运行级别服务的自启动基本语法:chkconfig --level 运行级别 服务名 [on/off]
如果不指定特定的运行级别会使其在所有运行级别下生效
示例(设置sshd服务在运行级别为5的情况下不自启动)
1 2 3 4 5 | [root@host-loubth 桌面]# chkconfig --list sshdsshd 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:启用 6:关闭[root@host-loubth 桌面]# chkconfig --level 5 sshd off[root@host-loubth 桌面]# chkconfig --list sshdsshd 0:关闭 1:关闭 2:启用 3:启用 4:启用 5:关闭 6:关闭 |
动态监控进程
介绍
top与ps命令很相似。它们都用来显示正在执行的进程。top与ps最大的不同之处,在于top命令可以实时动态地查看系统的整体运行情况,top在执行一段时间可以更新正在运行的的进程
基本语法
基本语法:top [选项]
常用选项
- -d:设置屏幕刷新间隔时间,默认3秒
- -i 时间:使top不显示任何闲置或者僵死进程
- -p 进程id号:指定监视某个进程
交互操作
- P:以CPU使用率排序,默认就是此项
- M:以内存的使用率排序
- N:以PID排序
- q:退出top
参数说明
1 2 3 4 5 | top - 09:44:56 up 16 days, 21:23, 1 user, load average: 9.59, 4.75, 1.92Tasks: 145 total, 2 running, 143 sleeping, 0 stopped, 0 zombieCpu(s): 99.8%us, 0.1%sy, 0.0%ni, 0.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%stMem: 4147888k total, 2493092k used, 1654796k free, 158188k buffersSwap: 5144568k total, 56k used, 5144512k free, 2013180k cached |
- top - 09:44:56 [当前系统时间],
- 16 days [系统已经运行了16天],
- 1 user [1个用户当前登录],
- load average: 9.59, 4.75, 1.92 [系统负载,即任务队列的平均长度]
- Tasks: 145 total [总进程数],
- 2 running [正在运行的进程数],
- 143 sleeping [睡眠的进程数],
- 0 stopped [停止的进程数],
- 0 zombie [冻结进程数],
- Cpu(s): 99.8%us [用户空间占用CPU百分比],
- 0.1%sy [内核空间占用CPU百分比],
- 0.0%ni [用户进程空间内改变过优先级的进程占用CPU百分比],
- 0.2%id [空闲CPU百分比], 0.0%wa [等待输入输出的CPU时间百分比],
- 0.0%hi [],
- 0.0%st [],
- Mem: 4147888k total [物理内存总量],
- 2493092k used [使用的物理内存总量],
- 1654796k free [空闲内存总量],
- 158188k buffers [用作内核缓存的内存量]
- Swap: 5144568k total [交换区总量],
- 56k used [使用的交换区总量],
- 5144512k free [空闲交换区总量],
- 2013180k cached [缓冲的交换区总量],
示例(监视特定用户)
top:输入此命令,按回车键,查看执行的进程
u:然后输入“u”回车,再输入用户名即可
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | [root@host-loubth 桌面]# toptop - 23:52:14 up 1:21, 2 users, load average: 0.17, 0.18, 0.26Tasks: 151 total, 1 running, 150 sleeping, 0 stopped, 0 zombieCpu(s): 2.0%us, 0.7%sy, 0.0%ni, 97.0%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%stMem: 1004136k total, 604964k used, 399172k free, 27432k buffersSwap: 2097148k total, 0k used, 2097148k free, 237364k cachedWhich user (blank for all): root PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2550 root 20 0 177m 31m 12m S 1.3 3.3 1:00.01 Xorg 3976 root 20 0 15032 1252 936 R 1.0 0.1 0:00.04 top 3950 root 20 0 340m 16m 11m S 0.3 1.7 0:01.54 gnome-terminal 1 root 20 0 19348 1544 1228 S 0.0 0.2 0:02.96 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 4 root 20 0 0 0 0 S 0.0 0.0 0:00.18 ksoftirqd/0 5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 stopper/0 6 root RT 0 0 0 0 S 0.0 0.0 0:00.04 watchdog/0 7 root 20 0 0 0 0 S 0.0 0.0 0:10.42 events/0 8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events/0 9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events_long/0 10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events_power_ef 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cgroup 12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper 13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 netns 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr |
示例(终止指定的进程)
top:输入此命令,按回车键,查看执行的进程
k:然后输入“k”回车,再输入要结束的进程ID号
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | [root@host-loubth 桌面]# toptop - 23:55:29 up 1:24, 2 users, load average: 0.20, 0.24, 0.28Tasks: 151 total, 1 running, 150 sleeping, 0 stopped, 0 zombieCpu(s): 1.9%us, 1.3%sy, 0.0%ni, 96.6%id, 0.1%wa, 0.0%hi, 0.2%si, 0.0%stMem: 1004136k total, 605296k used, 398840k free, 27488k buffersSwap: 2097148k total, 0k used, 2097148k free, 237620k cachedPID to kill: 3999 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1542 root 20 0 173m 7956 4540 S 1.9 0.8 0:12.18 vmtoolsd 3999 root 20 0 15028 1140 832 R 1.9 0.1 0:00.02 top 1 root 20 0 19348 1544 1228 S 0.0 0.2 0:02.97 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 4 root 20 0 0 0 0 S 0.0 0.0 0:00.20 ksoftirqd/0 5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 stopper/0 6 root RT 0 0 0 0 S 0.0 0.0 0:00.04 watchdog/0 7 root 20 0 0 0 0 S 0.0 0.0 0:10.80 events/0 8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events/0 9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events_long/0 10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events_power_ef 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cgroup 12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper 13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 netns 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr 15 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pm |
示例(指定系统状态更新的时间(每隔10秒自动更新,默认是3秒))
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | [root@host-loubth 桌面]# top -d 10top - 23:58:05 up 1:27, 2 users, load average: 0.33, 0.28, 0.29Tasks: 150 total, 1 running, 149 sleeping, 0 stopped, 0 zombieCpu(s): 1.9%us, 1.3%sy, 0.0%ni, 96.6%id, 0.1%wa, 0.0%hi, 0.2%si, 0.0%stMem: 1004136k total, 604264k used, 399872k free, 27600k buffersSwap: 2097148k total, 0k used, 2097148k free, 237616k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 420 root 20 0 0 0 0 S 2.0 0.0 0:00.75 jbd2/sda3-8 1542 root 20 0 173m 7956 4540 S 2.0 0.8 0:12.53 vmtoolsd 4027 root 20 0 15028 1164 848 R 2.0 0.1 0:00.01 top 1 root 20 0 19348 1544 1228 S 0.0 0.2 0:02.97 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 4 root 20 0 0 0 0 S 0.0 0.0 0:00.20 ksoftirqd/0 5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 stopper/0 6 root RT 0 0 0 0 S 0.0 0.0 0:00.04 watchdog/0 7 root 20 0 0 0 0 S 0.0 0.0 0:11.09 events/0 8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events/0 9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events_long/0 10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events_power_ef 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cgroup 12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper 13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 netns 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr |
查看系统网络情况
netstat命令用来打印Linux中网络系统的状态信息,可让你得知整个Linux系统的网络情况
基本语法
基本语法:netstat [选项]
常用选项
- -a或--all: 显示所有连线中的Socket
- -n或--numeric: 直接使用ip地址,而不通过域名服务器
- -p或--programs: 显示正在使用Socket的程序识别码和程序名称
示例(查看系统所有的网络服务)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 | [root@host-loubth 桌面]# netstat -anpActive Internet connections (servers and established)Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2275/sshd tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2090/cupsd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2453/master tcp 0 0 :::22 :::* LISTEN 2275/sshd tcp 0 0 ::1:631 :::* LISTEN 2090/cupsd tcp 0 0 ::1:25 :::* LISTEN 2453/master udp 0 0 0.0.0.0:631 0.0.0.0:* 2090/cupsd Active UNIX domain sockets (servers and established)Proto RefCnt Flags Type State I-Node PID/Program name Pathunix 2 [ ACC ] STREAM LISTENING 14435 2090/cupsd /var/run/cups/cups.sockunix 2 [ ACC ] STREAM LISTENING 19702 2877/gconf-helper /tmp/orbit-root/linc-b3d-0-68aa4f336e4c4unix 2 [ ACC ] STREAM LISTENING 18043 2719/gnome-session @/tmp/.ICE-unix/2719unix 2 [ ACC ] STREAM LISTENING 19816 2858/gnome-power-ma /tmp/orbit-root/linc-b2a-0-23b4015b90647unix 2 [ ACC ] STREAM LISTENING 19881 2868/gpk-update-ico /tmp/orbit-root/linc-b34-0-2b394a91aaa39unix 2 [ ACC ] STREAM LISTENING 16168 2550/Xorg @/tmp/.X11-unix/X0unix 2 [ ACC ] STREAM LISTENING 19597 2867/pulseaudio /tmp/.esd-0/socketunix 2 [ ACC ] STREAM LISTENING 19600 2867/pulseaudio /root/.pulse/6723cf3966a897185d4e98e500000014-runtime/nativeunix 2 [ ACC ] STREAM LISTENING 14606 2173/acpid /var/run/acpid.socketunix 2 [ ACC ] STREAM LISTENING 19923 2861/nm-applet /tmp/orbit-root/linc-b2d-0-41a1dcfb74e6unix 2 [ ACC ] STREAM LISTENING 20465 3088/notification-a /tmp/orbit-root/linc-c10-0-3c7973d2b78a2unix 2 [ ACC ] STREAM LISTENING 16652 2546/gdm-simple-sla @/tmp/gdm-session-GOrnxDmXunix 2 [ ACC ] STREAM LISTENING 20487 3087/gdm-user-switc /tmp/orbit-root/linc-c0f-0-74d16bafbe0ecunix 2 [ ACC ] STREAM LISTENING 20529 3101/ibus-gconf /tmp/orbit-root/linc-c1d-0-5a623a0cb700unix 2 [ ACC ] STREAM LISTENING 20573 3097/clock-applet /tmp/orbit-root/linc-c19-0-57e94aeae8e33unix 2 [ ACC ] STREAM LISTENING 20627 3090/gnote /tmp/orbit-root/linc-c12-0-55ce0a19226feunix 2 [ ACC ] STREAM LISTENING 17668 2709/gnome-keyring- /tmp/keyring-wktzvK/socketunix 2 [ ACC ] STREAM LISTENING 18425 2793/gnome-settings /tmp/orbit-root/linc-ae9-0-40f6c6ce20607unix 2 [ ACC ] STREAM LISTENING 18469 2709/gnome-keyring- /tmp/orbit-root/linc-a95-0-36e7198425640unix 2 [ ACC ] STREAM LISTENING 18473 2709/gnome-keyring- /tmp/keyring-wktzvK/socket.sshunix 2 [ ACC ] STREAM LISTENING 18475 2709/gnome-keyring- /tmp/keyring-wktzvK/socket.pkcs11unix 2 [ ACC ] STREAM LISTENING 18591 2798/seahorse-daemo /tmp/orbit-root/linc-aee-0-315b562a5164aunix 2 [ ACC ] STREAM LISTENING 18701 2813/metacity /tmp/orbit-root/linc-afd-0-6f18119d67575unix 2 [ ACC ] STREAM LISTENING 20446 3096/ibus-daemon @/tmp/dbus-0sVgKfeprzunix 2 [ ACC ] STREAM LISTENING 18752 2825/gnome-panel /tmp/orbit-root/linc-b09-0-711295fc7bf2dunix 2 [ ACC ] STREAM LISTENING 14649 2191/hald @/var/run/hald/dbus-EK00gQG5ZAunix 2 [ ACC ] STREAM LISTENING 35264 4176/gnome-terminal /tmp/orbit-root/linc-1050-0-588a66592082eunix 2 [ ACC ] STREAM LISTENING 9791 1/init @/com/ubuntu/upstartunix 2 [ ACC ] STREAM LISTENING 15640 2482/abrtd /var/run/abrt/abrt.socketunix 2 [ ACC ] STREAM LISTENING 16404 2546/gdm-simple-sla @/tmp/gdm-greeter-QoKghjdLunix 2 [ ] DGRAM 14681 2191/hald @/org/freedesktop/hal/udev_eventunix 2 [ ] DGRAM 10245 520/udevd @/org/kernel/udev/udevdunix 2 [ ACC ] STREAM LISTENING 14656 2191/hald @/var/run/hald/dbus-IL8vQlwHaVunix 2 [ ACC ] STREAM LISTENING 16169 2550/Xorg /tmp/.X11-unix/X0unix 2 [ ACC ] STREAM LISTENING 18044 2719/gnome-session /tmp/.ICE-unix/2719unix 2 [ ACC ] STREAM LISTENING 18068 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 2 [ ACC ] STREAM LISTENING 18298 2719/gnome-session /tmp/orbit-root/linc-a9f-0-372e5e1687bunix 2 [ ACC ] STREAM LISTENING 13361 1597/VGAuthService /var/run/vmware/guestServicePipeunix 2 [ ] DGRAM 14006 1986/portreserve /var/run/portreserve/socketunix 15 [ ] DGRAM 14037 1996/rsyslogd /dev/logunix 2 [ ACC ] STREAM LISTENING 14173 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 2 [ ACC ] STREAM LISTENING 15457 2453/master public/cleanupunix 2 [ ACC ] STREAM LISTENING 15464 2453/master private/tlsmgrunix 2 [ ACC ] STREAM LISTENING 15469 2453/master private/rewriteunix 2 [ ACC ] STREAM LISTENING 15473 2453/master private/bounceunix 2 [ ACC ] STREAM LISTENING 15477 2453/master private/deferunix 2 [ ACC ] STREAM LISTENING 15481 2453/master private/traceunix 2 [ ACC ] STREAM LISTENING 15485 2453/master private/verifyunix 2 [ ACC ] STREAM LISTENING 15489 2453/master public/flushunix 2 [ ACC ] STREAM LISTENING 15493 2453/master private/proxymapunix 2 [ ACC ] STREAM LISTENING 15497 2453/master private/proxywriteunix 2 [ ACC ] STREAM LISTENING 15501 2453/master private/smtpunix 2 [ ACC ] STREAM LISTENING 15505 2453/master private/relayunix 2 [ ACC ] STREAM LISTENING 15509 2453/master public/showqunix 2 [ ACC ] STREAM LISTENING 15513 2453/master private/errorunix 2 [ ACC ] STREAM LISTENING 17945 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 2 [ ACC ] STREAM LISTENING 15517 2453/master private/retryunix 2 [ ACC ] STREAM LISTENING 15521 2453/master private/discardunix 2 [ ACC ] STREAM LISTENING 15525 2453/master private/localunix 2 [ ACC ] STREAM LISTENING 18838 2828/bonobo-activat /tmp/orbit-root/linc-b0c-0-53633c3a9c2d8unix 2 [ ACC ] STREAM LISTENING 15529 2453/master private/virtualunix 2 [ ACC ] STREAM LISTENING 15533 2453/master private/lmtpunix 2 [ ACC ] STREAM LISTENING 15537 2453/master private/anvilunix 2 [ ACC ] STREAM LISTENING 19373 2841/wnck-applet /tmp/orbit-root/linc-b19-0-f56c74adac7dunix 2 [ ACC ] STREAM LISTENING 15541 2453/master private/scacheunix 2 [ ACC ] STREAM LISTENING 19427 2882/gnome-screensa /tmp/orbit-root/linc-b1a-0-318379cde4646unix 2 [ ACC ] STREAM LISTENING 20420 3100/gconf-im-setti /tmp/orbit-root/linc-c1c-0-665c7573a72a3unix 2 [ ACC ] STREAM LISTENING 19511 2830/bluetooth-appl /tmp/orbit-root/linc-b0e-0-73d3f867f14aaunix 2 [ ACC ] STREAM LISTENING 19572 2826/nautilus /tmp/orbit-root/linc-b0a-0-2aa8b6fd114b6unix 2 [ ACC ] STREAM LISTENING 19675 2851/trashapplet /tmp/orbit-root/linc-b23-0-37daa65665b37unix 3 [ ] STREAM CONNECTED 35275 4177/gnome-pty-help unix 3 [ ] STREAM CONNECTED 35274 4176/gnome-terminal unix 3 [ ] STREAM CONNECTED 35273 3096/ibus-daemon @/tmp/dbus-0sVgKfeprzunix 3 [ ] STREAM CONNECTED 35272 4176/gnome-terminal unix 3 [ ] STREAM CONNECTED 35269 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 35268 4176/gnome-terminal unix 3 [ ] STREAM CONNECTED 35267 4176/gnome-terminal /tmp/orbit-root/linc-1050-0-588a66592082eunix 3 [ ] STREAM CONNECTED 35266 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 35263 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 35262 4176/gnome-terminal unix 3 [ ] STREAM CONNECTED 35259 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 35258 4176/gnome-terminal unix 3 [ ] STREAM CONNECTED 35257 2719/gnome-session @/tmp/.ICE-unix/2719unix 3 [ ] STREAM CONNECTED 35256 4176/gnome-terminal unix 3 [ ] STREAM CONNECTED 35253 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 35252 4176/gnome-terminal unix 2 [ ] DGRAM 33649 4090/pickup unix 3 [ ] STREAM CONNECTED 23016 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 23015 2893/gvfsd-trash unix 3 [ ] STREAM CONNECTED 22767 3096/ibus-daemon @/tmp/dbus-0sVgKfeprzunix 3 [ ] STREAM CONNECTED 22766 2826/nautilus unix 3 [ ] STREAM CONNECTED 22764 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 22763 2813/metacity unix 3 [ ] STREAM CONNECTED 22045 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 22044 2841/wnck-applet unix 3 [ ] STREAM CONNECTED 21652 2867/pulseaudio /root/.pulse/6723cf3966a897185d4e98e500000014-runtime/nativeunix 3 [ ] STREAM CONNECTED 21651 2813/metacity unix 3 [ ] STREAM CONNECTED 20947 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20946 3135/gvfsd-metadata unix 3 [ ] STREAM CONNECTED 20927 3132/gvfsd-burn @/dbus-vfs-daemon/socket-wlfnT0Jrunix 3 [ ] STREAM CONNECTED 20926 2826/nautilus unix 3 [ ] STREAM CONNECTED 20928 3132/gvfsd-burn @/dbus-vfs-daemon/socket-FYwZ8eBeunix 3 [ ] STREAM CONNECTED 20925 2826/nautilus unix 3 [ ] STREAM CONNECTED 20917 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20916 3132/gvfsd-burn unix 3 [ ] STREAM CONNECTED 20897 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20896 3103/python unix 3 [ ] STREAM CONNECTED 20888 3096/ibus-daemon @/tmp/dbus-0sVgKfeprzunix 3 [ ] STREAM CONNECTED 20887 3103/python unix 3 [ ] STREAM CONNECTED 20884 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 20883 3103/python unix 3 [ ] STREAM CONNECTED 20878 2719/gnome-session @/tmp/.ICE-unix/2719unix 3 [ ] STREAM CONNECTED 20877 2849/vmtoolsd unix 3 [ ] STREAM CONNECTED 20874 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 20873 2849/vmtoolsd unix 3 [ ] STREAM CONNECTED 20842 2825/gnome-panel /tmp/orbit-root/linc-b09-0-711295fc7bf2dunix 3 [ ] STREAM CONNECTED 20841 3088/notification-a unix 3 [ ] STREAM CONNECTED 20785 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20784 3087/gdm-user-switc unix 3 [ ] STREAM CONNECTED 20738 3096/ibus-daemon @/tmp/dbus-0sVgKfeprzunix 3 [ ] STREAM CONNECTED 20737 3097/clock-applet unix 3 [ ] STREAM CONNECTED 20732 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 20730 3087/gdm-user-switc unix 3 [ ] STREAM CONNECTED 20731 2825/gnome-panel /tmp/orbit-root/linc-b09-0-711295fc7bf2dunix 3 [ ] STREAM CONNECTED 20729 3087/gdm-user-switc unix 3 [ ] STREAM CONNECTED 20728 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 20727 3097/clock-applet unix 3 [ ] STREAM CONNECTED 20709 2893/gvfsd-trash @/dbus-vfs-daemon/socket-Ac4kurS4unix 3 [ ] STREAM CONNECTED 20708 2826/nautilus unix 3 [ ] STREAM CONNECTED 20707 2893/gvfsd-trash @/dbus-vfs-daemon/socket-pwSKEEYQunix 3 [ ] STREAM CONNECTED 20706 2826/nautilus unix 3 [ ] STREAM CONNECTED 20703 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 20702 2826/nautilus unix 3 [ ] STREAM CONNECTED 20701 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20700 2826/nautilus unix 3 [ ] STREAM CONNECTED 20699 2825/gnome-panel /tmp/orbit-root/linc-b09-0-711295fc7bf2dunix 3 [ ] STREAM CONNECTED 20698 3090/gnote unix 3 [ ] STREAM CONNECTED 20697 3090/gnote /tmp/orbit-root/linc-c12-0-55ce0a19226feunix 3 [ ] STREAM CONNECTED 20696 2825/gnome-panel unix 3 [ ] STREAM CONNECTED 20695 3090/gnote /tmp/orbit-root/linc-c12-0-55ce0a19226feunix 3 [ ] STREAM CONNECTED 20694 2828/bonobo-activat unix 3 [ ] STREAM CONNECTED 20693 2828/bonobo-activat /tmp/orbit-root/linc-b0c-0-53633c3a9c2d8unix 3 [ ] STREAM CONNECTED 20692 3090/gnote unix 3 [ ] STREAM CONNECTED 20691 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20690 3090/gnote unix 3 [ ] STREAM CONNECTED 20685 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 20684 3097/clock-applet unix 3 [ ] STREAM CONNECTED 20683 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20682 3090/gnote unix 3 [ ] STREAM CONNECTED 20680 2893/gvfsd-trash @/dbus-vfs-daemon/socket-rliDQlqBunix 3 [ ] STREAM CONNECTED 20679 2851/trashapplet unix 3 [ ] STREAM CONNECTED 20681 2893/gvfsd-trash @/dbus-vfs-daemon/socket-UAo8QWqwunix 3 [ ] STREAM CONNECTED 20678 2851/trashapplet unix 3 [ ] STREAM CONNECTED 20669 2825/gnome-panel /tmp/orbit-root/linc-b09-0-711295fc7bf2dunix 3 [ ] STREAM CONNECTED 20668 2851/trashapplet unix 3 [ ] STREAM CONNECTED 20667 2851/trashapplet /tmp/orbit-root/linc-b23-0-37daa65665b37unix 3 [ ] STREAM CONNECTED 20666 2825/gnome-panel unix 3 [ ] STREAM CONNECTED 20672 2893/gvfsd-trash @/dbus-vfs-daemon/socket-283uSvGWunix 3 [ ] STREAM CONNECTED 20665 2826/nautilus unix 3 [ ] STREAM CONNECTED 20673 2893/gvfsd-trash @/dbus-vfs-daemon/socket-JllqOlPnunix 3 [ ] STREAM CONNECTED 20664 2826/nautilus unix 3 [ ] STREAM CONNECTED 20661 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20660 3097/clock-applet unix 3 [ ] STREAM CONNECTED 20659 2825/gnome-panel /tmp/orbit-root/linc-b09-0-711295fc7bf2dunix 3 [ ] STREAM CONNECTED 20658 3097/clock-applet unix 3 [ ] STREAM CONNECTED 20657 3097/clock-applet /tmp/orbit-root/linc-c19-0-57e94aeae8e33unix 3 [ ] STREAM CONNECTED 20656 2825/gnome-panel unix 3 [ ] STREAM CONNECTED 20655 3087/gdm-user-switc /tmp/orbit-root/linc-c0f-0-74d16bafbe0ecunix 3 [ ] STREAM CONNECTED 20654 2825/gnome-panel unix 3 [ ] STREAM CONNECTED 20653 3088/notification-a /tmp/orbit-root/linc-c10-0-3c7973d2b78a2unix 3 [ ] STREAM CONNECTED 20652 2825/gnome-panel unix 3 [ ] STREAM CONNECTED 20630 3090/gnote /tmp/orbit-root/linc-c12-0-55ce0a19226feunix 3 [ ] STREAM CONNECTED 20629 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 20626 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 20625 3090/gnote unix 3 [ ] STREAM CONNECTED 20622 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20621 3090/gnote unix 3 [ ] STREAM CONNECTED 20592 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20591 3108/ibus-engine-pi unix 3 [ ] STREAM CONNECTED 20590 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20589 3106/ibus-x11 unix 3 [ ] STREAM CONNECTED 20587 3096/ibus-daemon @/tmp/dbus-0sVgKfeprzunix 3 [ ] STREAM CONNECTED 20586 3108/ibus-engine-pi unix 3 [ ] STREAM CONNECTED 20585 3096/ibus-daemon @/tmp/dbus-0sVgKfeprzunix 3 [ ] STREAM CONNECTED 20584 3106/ibus-x11 unix 3 [ ] STREAM CONNECTED 20582 3097/clock-applet /tmp/orbit-root/linc-c19-0-57e94aeae8e33unix 3 [ ] STREAM CONNECTED 20581 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 20580 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 20579 3097/clock-applet unix 3 [ ] STREAM CONNECTED 20578 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20577 3097/clock-applet unix 3 [ ] STREAM CONNECTED 20576 3097/clock-applet /tmp/orbit-root/linc-c19-0-57e94aeae8e33unix 3 [ ] STREAM CONNECTED 20575 2828/bonobo-activat unix 3 [ ] STREAM CONNECTED 20571 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 20570 3090/gnote unix 3 [ ] STREAM CONNECTED 20569 2828/bonobo-activat /tmp/orbit-root/linc-b0c-0-53633c3a9c2d8unix 3 [ ] STREAM CONNECTED 20568 3097/clock-applet unix 3 [ ] STREAM CONNECTED 20559 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 20558 3106/ibus-x11 unix 3 [ ] STREAM CONNECTED 20541 3087/gdm-user-switc /tmp/orbit-root/linc-c0f-0-74d16bafbe0ecunix 3 [ ] STREAM CONNECTED 20540 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 20539 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 20538 3087/gdm-user-switc unix 3 [ ] STREAM CONNECTED 20537 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20536 3087/gdm-user-switc unix 3 [ ] STREAM CONNECTED 20535 3087/gdm-user-switc /tmp/orbit-root/linc-c0f-0-74d16bafbe0ecunix 3 [ ] STREAM CONNECTED 20534 2828/bonobo-activat unix 3 [ ] STREAM CONNECTED 20532 3101/ibus-gconf /tmp/orbit-root/linc-c1d-0-5a623a0cb700unix 3 [ ] STREAM CONNECTED 20531 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 20528 3088/notification-a /tmp/orbit-root/linc-c10-0-3c7973d2b78a2unix 3 [ ] STREAM CONNECTED 20527 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 20526 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 20525 3088/notification-a unix 3 [ ] STREAM CONNECTED 20524 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20523 3088/notification-a unix 3 [ ] STREAM CONNECTED 20521 3088/notification-a /tmp/orbit-root/linc-c10-0-3c7973d2b78a2unix 3 [ ] STREAM CONNECTED 20520 2828/bonobo-activat unix 3 [ ] STREAM CONNECTED 20518 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 20517 3097/clock-applet unix 3 [ ] STREAM CONNECTED 20514 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 20513 3101/ibus-gconf unix 3 [ ] STREAM CONNECTED 20510 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20509 3101/ibus-gconf unix 3 [ ] STREAM CONNECTED 20507 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20506 3101/ibus-gconf unix 3 [ ] STREAM CONNECTED 20522 2828/bonobo-activat /tmp/orbit-root/linc-b0c-0-53633c3a9c2d8unix 3 [ ] STREAM CONNECTED 20486 3087/gdm-user-switc unix 3 [ ] STREAM CONNECTED 20503 3096/ibus-daemon @/tmp/dbus-0sVgKfeprzunix 3 [ ] STREAM CONNECTED 20483 3101/ibus-gconf unix 3 [ ] STREAM CONNECTED 20464 2828/bonobo-activat /tmp/orbit-root/linc-b0c-0-53633c3a9c2d8unix 3 [ ] STREAM CONNECTED 20463 3088/notification-a unix 3 [ ] STREAM CONNECTED 20423 3100/gconf-im-setti /tmp/orbit-root/linc-c1c-0-665c7573a72a3unix 3 [ ] STREAM CONNECTED 20422 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 20417 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 20416 3100/gconf-im-setti unix 3 [ ] STREAM CONNECTED 20408 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20407 3100/gconf-im-setti unix 3 [ ] STREAM CONNECTED 20404 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 20403 3087/gdm-user-switc unix 3 [ ] STREAM CONNECTED 20392 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 20391 3088/notification-a unix 3 [ ] STREAM CONNECTED 20159 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20158 2834/restorecond unix 3 [ ] STREAM CONNECTED 20141 2825/gnome-panel /tmp/orbit-root/linc-b09-0-711295fc7bf2dunix 3 [ ] STREAM CONNECTED 20140 2841/wnck-applet unix 3 [ ] STREAM CONNECTED 20134 2841/wnck-applet /tmp/orbit-root/linc-b19-0-f56c74adac7dunix 3 [ ] STREAM CONNECTED 20133 2825/gnome-panel unix 3 [ ] STREAM CONNECTED 20132 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20131 2868/gpk-update-ico unix 3 [ ] STREAM CONNECTED 20128 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20127 2989/gvfs-afc-volum unix 3 [ ] STREAM CONNECTED 20100 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20099 2979/gvfs-gphoto2-v unix 3 [ ] STREAM CONNECTED 20090 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20089 2853/gdu-notificati unix 3 [ ] STREAM CONNECTED 20081 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20080 2840/gvfs-gdu-volum unix 3 [ ] STREAM CONNECTED 20069 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20068 2861/nm-applet unix 3 [ ] STREAM CONNECTED 20055 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 20054 2871/gnome-volume-c unix 3 [ ] STREAM CONNECTED 19980 2867/pulseaudio /root/.pulse/6723cf3966a897185d4e98e500000014-runtime/nativeunix 3 [ ] STREAM CONNECTED 19979 2871/gnome-volume-c unix 3 [ ] STREAM CONNECTED 19954 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19953 2826/nautilus unix 3 [ ] STREAM CONNECTED 19941 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 19936 2861/nm-applet unix 3 [ ] STREAM CONNECTED 19926 2861/nm-applet /tmp/orbit-root/linc-b2d-0-41a1dcfb74e6unix 3 [ ] STREAM CONNECTED 19925 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 19922 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 19921 2861/nm-applet unix 3 [ ] STREAM CONNECTED 19918 2719/gnome-session @/tmp/.ICE-unix/2719unix 3 [ ] STREAM CONNECTED 19917 2867/pulseaudio unix 3 [ ] STREAM CONNECTED 19914 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 19912 2848/udisks-daemon unix 3 [ ] STREAM CONNECTED 19907 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19906 2861/nm-applet unix 3 [ ] STREAM CONNECTED 19902 2893/gvfsd-trash @/dbus-vfs-daemon/socket-vYQ2zVLIunix 3 [ ] STREAM CONNECTED 19901 2851/trashapplet unix 3 [ ] STREAM CONNECTED 19903 2893/gvfsd-trash @/dbus-vfs-daemon/socket-6d675rhaunix 3 [ ] STREAM CONNECTED 19900 2851/trashapplet unix 3 [ ] STREAM CONNECTED 19913 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 19888 2868/gpk-update-ico unix 3 [ ] STREAM CONNECTED 19884 2868/gpk-update-ico /tmp/orbit-root/linc-b34-0-2b394a91aaa39unix 3 [ ] STREAM CONNECTED 19883 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 19880 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 19879 2868/gpk-update-ico unix 3 [ ] STREAM CONNECTED 19875 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19874 2868/gpk-update-ico unix 3 [ ] STREAM CONNECTED 19854 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19853 2871/gnome-volume-c unix 3 [ ] STREAM CONNECTED 19847 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19846 2893/gvfsd-trash unix 3 [ ] STREAM CONNECTED 19831 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 19830 2867/pulseaudio unix 3 [ ] STREAM CONNECTED 19828 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19827 2893/gvfsd-trash unix 3 [ ] STREAM CONNECTED 19819 2858/gnome-power-ma /tmp/orbit-root/linc-b2a-0-23b4015b90647unix 3 [ ] STREAM CONNECTED 19818 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 19815 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 19814 2858/gnome-power-ma unix 3 [ ] STREAM CONNECTED 19805 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 19804 2866/polkit-gnome-a unix 3 [ ] STREAM CONNECTED 19800 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19799 2852/abrt-applet unix 3 [ ] STREAM CONNECTED 19798 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 19797 2852/abrt-applet unix 3 [ ] STREAM CONNECTED 19764 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19763 2858/gnome-power-ma unix 3 [ ] STREAM CONNECTED 19753 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19752 2830/bluetooth-appl unix 3 [ ] STREAM CONNECTED 19746 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19745 2851/trashapplet unix 3 [ ] STREAM CONNECTED 19742 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 19741 2858/gnome-power-ma unix 3 [ ] STREAM CONNECTED 19740 2867/pulseaudio /root/.pulse/6723cf3966a897185d4e98e500000014-runtime/nativeunix 3 [ ] STREAM CONNECTED 19739 2793/gnome-settings unix 3 [ ] STREAM CONNECTED 19734 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 19733 2848/udisks-daemon unix 3 [ ] STREAM CONNECTED 19732 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19731 2851/trashapplet unix 3 [ ] STREAM CONNECTED 19715 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 19711 2871/gnome-volume-c unix 3 [ ] STREAM CONNECTED 19713 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 19707 2868/gpk-update-ico unix 3 [ ] STREAM CONNECTED 19708 2877/gconf-helper /tmp/orbit-root/linc-b3d-0-68aa4f336e4c4unix 3 [ ] STREAM CONNECTED 19704 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 19701 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 19700 2877/gconf-helper unix 3 [ ] STREAM CONNECTED 19693 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 19692 2853/gdu-notificati unix 3 [ ] STREAM CONNECTED 19691 2851/trashapplet /tmp/orbit-root/linc-b23-0-37daa65665b37unix 3 [ ] STREAM CONNECTED 19690 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 19689 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 19688 2851/trashapplet unix 3 [ ] STREAM CONNECTED 19687 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19686 2826/nautilus unix 3 [ ] STREAM CONNECTED 19682 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19681 2877/gconf-helper unix 3 [ ] STREAM CONNECTED 19680 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19679 2851/trashapplet unix 3 [ ] STREAM CONNECTED 19678 2851/trashapplet /tmp/orbit-root/linc-b23-0-37daa65665b37unix 3 [ ] STREAM CONNECTED 19677 2828/bonobo-activat unix 3 [ ] STREAM CONNECTED 19674 2828/bonobo-activat /tmp/orbit-root/linc-b0c-0-53633c3a9c2d8unix 3 [ ] STREAM CONNECTED 19673 2851/trashapplet unix 3 [ ] STREAM CONNECTED 19669 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 19663 2866/polkit-gnome-a unix 3 [ ] STREAM CONNECTED 19658 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 19649 2861/nm-applet unix 3 [ ] STREAM CONNECTED 19605 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19604 2882/gnome-screensa unix 3 [ ] STREAM CONNECTED 19591 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 19590 2867/pulseaudio unix 3 [ ] STREAM CONNECTED 19589 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19588 2855/im-settings-da unix 3 [ ] STREAM CONNECTED 19575 2826/nautilus /tmp/orbit-root/linc-b0a-0-2aa8b6fd114b6unix 3 [ ] STREAM CONNECTED 19574 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 19571 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 19570 2826/nautilus unix 3 [ ] STREAM CONNECTED 19567 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19566 2826/nautilus unix 3 [ ] STREAM CONNECTED 19535 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 19534 2858/gnome-power-ma unix 3 [ ] STREAM CONNECTED 19525 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19524 2867/pulseaudio unix 2 [ ] DGRAM 19514 2867/pulseaudio unix 3 [ ] STREAM CONNECTED 19529 2830/bluetooth-appl /tmp/orbit-root/linc-b0e-0-73d3f867f14aaunix 3 [ ] STREAM CONNECTED 19513 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 19510 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 19509 2830/bluetooth-appl unix 3 [ ] STREAM CONNECTED 19473 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 19472 2853/gdu-notificati unix 3 [ ] STREAM CONNECTED 19469 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 19468 2882/gnome-screensa unix 3 [ ] STREAM CONNECTED 19438 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19437 2855/im-settings-da unix 3 [ ] STREAM CONNECTED 19433 2841/wnck-applet /tmp/orbit-root/linc-b19-0-f56c74adac7dunix 3 [ ] STREAM CONNECTED 19432 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 19430 2882/gnome-screensa /tmp/orbit-root/linc-b1a-0-318379cde4646unix 3 [ ] STREAM CONNECTED 19429 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 19426 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 19425 2882/gnome-screensa unix 3 [ ] STREAM CONNECTED 19422 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 19421 2830/bluetooth-appl unix 3 [ ] STREAM CONNECTED 19391 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 19390 2841/wnck-applet unix 3 [ ] STREAM CONNECTED 19389 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19388 2882/gnome-screensa unix 3 [ ] STREAM CONNECTED 19378 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19377 2841/wnck-applet unix 3 [ ] STREAM CONNECTED 19376 2841/wnck-applet /tmp/orbit-root/linc-b19-0-f56c74adac7dunix 3 [ ] STREAM CONNECTED 19375 2828/bonobo-activat unix 3 [ ] STREAM CONNECTED 19372 2828/bonobo-activat /tmp/orbit-root/linc-b0c-0-53633c3a9c2d8unix 3 [ ] STREAM CONNECTED 19371 2841/wnck-applet unix 3 [ ] STREAM CONNECTED 19340 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 19339 2851/trashapplet unix 3 [ ] STREAM CONNECTED 19333 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 19332 2852/abrt-applet unix 3 [ ] STREAM CONNECTED 19264 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 19263 2830/bluetooth-appl unix 3 [ ] STREAM CONNECTED 19117 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 19116 2882/gnome-screensa unix 3 [ ] STREAM CONNECTED 19052 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 19051 2840/gvfs-gdu-volum unix 3 [ ] STREAM CONNECTED 19014 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 19013 2841/wnck-applet unix 3 [ ] STREAM CONNECTED 18982 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18981 2840/gvfs-gdu-volum unix 3 [ ] STREAM CONNECTED 18978 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 18977 2830/bluetooth-appl unix 3 [ ] STREAM CONNECTED 18882 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18881 2825/gnome-panel unix 3 [ ] STREAM CONNECTED 18875 2825/gnome-panel /tmp/orbit-root/linc-b09-0-711295fc7bf2dunix 3 [ ] STREAM CONNECTED 18874 2828/bonobo-activat unix 3 [ ] STREAM CONNECTED 18872 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18871 2828/bonobo-activat unix 3 [ ] STREAM CONNECTED 18870 2828/bonobo-activat /tmp/orbit-root/linc-b0c-0-53633c3a9c2d8unix 3 [ ] STREAM CONNECTED 18869 2825/gnome-panel unix 3 [ ] STREAM CONNECTED 18836 2719/gnome-session @/tmp/.ICE-unix/2719unix 3 [ ] STREAM CONNECTED 18835 2826/nautilus unix 3 [ ] STREAM CONNECTED 18832 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 18831 2826/nautilus unix 3 [ ] STREAM CONNECTED 18762 2719/gnome-session @/tmp/.ICE-unix/2719unix 3 [ ] STREAM CONNECTED 18761 2825/gnome-panel unix 3 [ ] STREAM CONNECTED 18758 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18757 2825/gnome-panel unix 3 [ ] STREAM CONNECTED 18755 2825/gnome-panel /tmp/orbit-root/linc-b09-0-711295fc7bf2dunix 3 [ ] STREAM CONNECTED 18754 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 18751 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 18750 2825/gnome-panel unix 3 [ ] STREAM CONNECTED 18749 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18748 2825/gnome-panel unix 3 [ ] STREAM CONNECTED 18743 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 18742 2825/gnome-panel unix 3 [ ] STREAM CONNECTED 18709 2719/gnome-session @/tmp/.ICE-unix/2719unix 3 [ ] STREAM CONNECTED 18708 2813/metacity unix 3 [ ] STREAM CONNECTED 18704 2813/metacity /tmp/orbit-root/linc-afd-0-6f18119d67575unix 3 [ ] STREAM CONNECTED 18703 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 18700 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 18699 2813/metacity unix 3 [ ] STREAM CONNECTED 18693 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 18692 2793/gnome-settings unix 3 [ ] STREAM CONNECTED 18691 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18690 2793/gnome-settings unix 3 [ ] STREAM CONNECTED 18688 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18687 2813/metacity unix 3 [ ] STREAM CONNECTED 18650 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 18649 2813/metacity unix 3 [ ] STREAM CONNECTED 18615 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18614 2810/gvfs-fuse-daem unix 3 [ ] STREAM CONNECTED 18609 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18608 2810/gvfs-fuse-daem unix 3 [ ] STREAM CONNECTED 18594 2798/seahorse-daemo /tmp/orbit-root/linc-aee-0-315b562a5164aunix 3 [ ] STREAM CONNECTED 18593 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 18588 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 18587 2798/seahorse-daemo unix 3 [ ] STREAM CONNECTED 18584 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18583 2798/seahorse-daemo unix 2 [ ] DGRAM 18582 2798/seahorse-daemo unix 3 [ ] STREAM CONNECTED 18553 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18552 2803/gvfsd unix 3 [ ] STREAM CONNECTED 18549 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18548 2798/seahorse-daemo unix 3 [ ] STREAM CONNECTED 18543 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18542 2793/gnome-settings unix 3 [ ] STREAM CONNECTED 18478 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 18477 2798/seahorse-daemo unix 3 [ ] STREAM CONNECTED 18472 2709/gnome-keyring- /tmp/orbit-root/linc-a95-0-36e7198425640unix 3 [ ] STREAM CONNECTED 18471 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 18468 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 18467 2709/gnome-keyring- unix 3 [ ] STREAM CONNECTED 18463 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18462 2709/gnome-keyring- unix 3 [ ] STREAM CONNECTED 18428 2793/gnome-settings /tmp/orbit-root/linc-ae9-0-40f6c6ce20607unix 3 [ ] STREAM CONNECTED 18427 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 18424 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 18423 2793/gnome-settings unix 3 [ ] STREAM CONNECTED 18416 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18415 2793/gnome-settings unix 3 [ ] STREAM CONNECTED 18385 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 18384 2793/gnome-settings unix 3 [ ] STREAM CONNECTED 18301 2719/gnome-session /tmp/orbit-root/linc-a9f-0-372e5e1687bunix 3 [ ] STREAM CONNECTED 18300 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 18297 2788/gconfd-2 /tmp/orbit-root/linc-ae4-0-756cebadef221unix 3 [ ] STREAM CONNECTED 18296 2719/gnome-session unix 3 [ ] STREAM CONNECTED 18293 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 18292 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 18071 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18070 2788/gconfd-2 unix 3 [ ] STREAM CONNECTED 18055 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 18054 2719/gnome-session unix 3 [ ] STREAM CONNECTED 18026 2728/dbus-daemon @/tmp/dbus-Ho0cPWmzbFunix 3 [ ] STREAM CONNECTED 18025 2719/gnome-session unix 3 [ ] STREAM CONNECTED 18020 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 18019 2719/gnome-session unix 3 [ ] STREAM CONNECTED 17957 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 17956 2727/dbus-launch unix 3 [ ] STREAM CONNECTED 17955 2728/dbus-daemon unix 3 [ ] STREAM CONNECTED 17954 2728/dbus-daemon unix 3 [ ] STREAM CONNECTED 17928 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 17927 2727/dbus-launch unix 3 [ ] STREAM CONNECTED 17848 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 17847 2698/pam unix 2 [ ] DGRAM 17670 2698/pam unix 3 [ ] STREAM CONNECTED 17591 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 17589 2546/gdm-simple-sla unix 3 [ ] STREAM CONNECTED 17537 2546/gdm-simple-sla @/tmp/gdm-session-GOrnxDmXunix 3 [ ] STREAM CONNECTED 17536 2698/pam unix 3 [ ] STREAM CONNECTED 17532 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 17531 2698/pam unix 2 [ ] DGRAM 17465 2686/polkitd unix 3 [ ] STREAM CONNECTED 17444 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 17443 2692/rtkit-daemon unix 3 [ ] STREAM CONNECTED 17438 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 17437 2686/polkitd unix 2 [ ] DGRAM 17429 2692/rtkit-daemon unix 3 [ ] STREAM CONNECTED 16709 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 16708 2640/devkit-power-d unix 3 [ ] STREAM CONNECTED 16702 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 16701 2640/devkit-power-d unix 3 [ ] STREAM CONNECTED 16629 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 16627 2634/dbus-launch unix 3 [ ] STREAM CONNECTED 16600 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 16599 2634/dbus-launch unix 3 [ ] STREAM CONNECTED 16523 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 16522 2564/console-kit-da unix 3 [ ] STREAM CONNECTED 16496 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 16495 2564/console-kit-da unix 3 [ ] STREAM CONNECTED 16348 2550/Xorg @/tmp/.X11-unix/X0unix 3 [ ] STREAM CONNECTED 16347 2546/gdm-simple-sla unix 3 [ ] STREAM CONNECTED 16173 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 16172 2550/Xorg unix 3 [ ] STREAM CONNECTED 16132 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 16131 2546/gdm-simple-sla unix 3 [ ] STREAM CONNECTED 15928 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 15927 2517/gdm-binary unix 2 [ ] DGRAM 15681 2494/crond unix 2 [ ] DGRAM 15644 2482/abrtd unix 2 [ ] DGRAM 15555 2459/qmgr unix 3 [ ] STREAM CONNECTED 15544 2453/master unix 3 [ ] STREAM CONNECTED 15543 2453/master unix 3 [ ] STREAM CONNECTED 15540 2453/master unix 3 [ ] STREAM CONNECTED 15539 2453/master unix 3 [ ] STREAM CONNECTED 15536 2453/master unix 3 [ ] STREAM CONNECTED 15535 2453/master unix 3 [ ] STREAM CONNECTED 15532 2453/master unix 3 [ ] STREAM CONNECTED 15531 2453/master unix 3 [ ] STREAM CONNECTED 15528 2453/master unix 3 [ ] STREAM CONNECTED 15527 2453/master unix 3 [ ] STREAM CONNECTED 15524 2453/master unix 3 [ ] STREAM CONNECTED 15523 2453/master unix 3 [ ] STREAM CONNECTED 15520 2453/master unix 3 [ ] STREAM CONNECTED 15519 2453/master unix 3 [ ] STREAM CONNECTED 15516 2453/master unix 3 [ ] STREAM CONNECTED 15515 2453/master unix 3 [ ] STREAM CONNECTED 15512 2453/master unix 3 [ ] STREAM CONNECTED 15511 2453/master unix 3 [ ] STREAM CONNECTED 15508 2453/master unix 3 [ ] STREAM CONNECTED 15507 2453/master unix 3 [ ] STREAM CONNECTED 15504 2453/master unix 3 [ ] STREAM CONNECTED 15503 2453/master unix 3 [ ] STREAM CONNECTED 15500 2453/master unix 3 [ ] STREAM CONNECTED 15499 2453/master unix 3 [ ] STREAM CONNECTED 15496 2453/master unix 3 [ ] STREAM CONNECTED 15495 2453/master unix 3 [ ] STREAM CONNECTED 15492 2453/master unix 3 [ ] STREAM CONNECTED 15491 2453/master unix 3 [ ] STREAM CONNECTED 15488 2453/master unix 3 [ ] STREAM CONNECTED 15487 2453/master unix 3 [ ] STREAM CONNECTED 15484 2453/master unix 3 [ ] STREAM CONNECTED 15483 2453/master unix 3 [ ] STREAM CONNECTED 15480 2453/master unix 3 [ ] STREAM CONNECTED 15479 2453/master unix 3 [ ] STREAM CONNECTED 15476 2453/master unix 3 [ ] STREAM CONNECTED 15475 2453/master unix 3 [ ] STREAM CONNECTED 15472 2453/master unix 3 [ ] STREAM CONNECTED 15471 2453/master unix 3 [ ] STREAM CONNECTED 15468 2453/master unix 3 [ ] STREAM CONNECTED 15467 2453/master unix 3 [ ] STREAM CONNECTED 15463 2453/master unix 3 [ ] STREAM CONNECTED 15462 2453/master unix 3 [ ] STREAM CONNECTED 15460 2453/master unix 3 [ ] STREAM CONNECTED 15459 2453/master unix 3 [ ] STREAM CONNECTED 15456 2453/master unix 3 [ ] STREAM CONNECTED 15455 2453/master unix 3 [ ] STREAM CONNECTED 15453 2453/master unix 3 [ ] STREAM CONNECTED 15452 2453/master unix 2 [ ] DGRAM 15423 2453/master unix 3 [ ] STREAM CONNECTED 14996 2173/acpid /var/run/acpid.socketunix 3 [ ] STREAM CONNECTED 14995 2244/hald-addon-acp unix 3 [ ] STREAM CONNECTED 14990 2191/hald @/var/run/hald/dbus-EK00gQG5ZAunix 3 [ ] STREAM CONNECTED 14989 2244/hald-addon-acp unix 3 [ ] STREAM CONNECTED 14984 2191/hald @/var/run/hald/dbus-EK00gQG5ZAunix 3 [ ] STREAM CONNECTED 14937 2239/hald-addon-inp unix 3 [ ] STREAM CONNECTED 14676 2191/hald @/var/run/hald/dbus-IL8vQlwHaVunix 3 [ ] STREAM CONNECTED 14675 2192/hald-runner unix 3 [ ] STREAM CONNECTED 14651 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 14650 2191/hald unix 2 [ ] DGRAM 14608 2173/acpid unix 3 [ ] STREAM CONNECTED 14406 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 14405 2094/wpa_supplicant unix 3 [ ] STREAM CONNECTED 14261 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 14260 2065/modem-manager unix 2 [ ] DGRAM 14259 2065/modem-manager unix 3 [ ] STREAM CONNECTED 14239 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 14238 2061/NetworkManager unix 3 [ ] STREAM CONNECTED 14230 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 14229 2061/NetworkManager unix 2 [ ] DGRAM 14223 2061/NetworkManager unix 3 [ ] STREAM CONNECTED 14193 2047/dbus-daemon /var/run/dbus/system_bus_socketunix 3 [ ] STREAM CONNECTED 14192 1/init unix 3 [ ] STREAM CONNECTED 14190 2047/dbus-daemon unix 3 [ ] STREAM CONNECTED 14189 2047/dbus-daemon unix 3 [ ] DGRAM 10265 520/udevd unix 3 [ ] DGRAM 10264 520/udevd |
示例(请查看服务名为sshd的服务的信息)
1 2 3 | [root@host-loubth 桌面]# netstat -anp | grep sshdtcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2275/sshd tcp 0 0 :::22 :::* LISTEN 2275/sshd |