|
楼主 |
发表于 2003-7-14 11:47:21
|
显示全部楼层
TOP和ps -aux的結果
top:
----------------------------------------------------------------
11:40am up 7 days, 28 min, 1 user, load average: 0.00, 0.00, 0.00
88 processes: 87 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 0.0% user, 0.0% system, 0.0% nice, 100.0% idle
CPU1 states: 0.0% user, 0.0% system, 0.0% nice, 100.0% idle
CPU2 states: 0.0% user, 0.0% system, 0.0% nice, 100.0% idle
CPU3 states: 0.0% user, 0.1% system, 0.0% nice, 99.4% idle
Mem: 4106440K av, 519488K used, 3586952K free, 64K shrd, 83040K buff
Swap: 8096848K av, 0K used, 8096848K free 244356K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
23570 root 15 0 1132 1132 888 R 0.1 0.0 0:00 top
1 root 15 0 512 512 444 S 0.0 0.0 0:03 init
2 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
3 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
4 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
5 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
6 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU0
7 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU1
8 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU2
9 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU3
10 root 15 0 0 0 0 SW 0.0 0.0 0:00 kswapd
11 root 25 0 0 0 0 SW 0.0 0.0 0:00 kreclaimd
12 root 15 0 0 0 0 SW 0.0 0.0 0:00 bdflush
13 root 15 0 0 0 0 SW 0.0 0.0 0:00 kupdated
14 root 25 0 0 0 0 SW 0.0 0.0 0:00 mdrecoveryd
20 root 25 0 0 0 0 SW 0.0 0.0 0:00 scsi_eh_0
--------------------------------------------------------------
ps -aux
-----------------------------
[root@localhost fans]# ps -aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1416 512 ? S Jul07 0:03 init
root 2 0.0 0.0 0 0 ? SW Jul07 0:00 [keventd]
root 3 0.0 0.0 0 0 ? SW Jul07 0:00 [keventd]
root 4 0.0 0.0 0 0 ? SW Jul07 0:00 [keventd]
root 5 0.0 0.0 0 0 ? SW Jul07 0:00 [keventd]
root 6 0.0 0.0 0 0 ? SWN Jul07 0:00 [ksoftirqd_CPU0]
root 7 0.0 0.0 0 0 ? SWN Jul07 0:00 [ksoftirqd_CPU1]
root 8 0.0 0.0 0 0 ? SWN Jul07 0:00 [ksoftirqd_CPU2]
root 9 0.0 0.0 0 0 ? SWN Jul07 0:00 [ksoftirqd_CPU3]
root 10 0.0 0.0 0 0 ? SW Jul07 0:00 [kswapd]
root 11 0.0 0.0 0 0 ? SW Jul07 0:00 [kreclaimd]
root 12 0.0 0.0 0 0 ? SW Jul07 0:00 [bdflush]
root 13 0.0 0.0 0 0 ? SW Jul07 0:00 [kupdated]
root 14 0.0 0.0 0 0 ? SW Jul07 0:00 [mdrecoveryd]
root 20 0.0 0.0 0 0 ? SW Jul07 0:00 [scsi_eh_0]
root 23 0.0 0.0 0 0 ? SW Jul07 0:01 [kjournald]
root 101 0.0 0.0 0 0 ? SW Jul07 0:00 [khubd]
root 205 0.0 0.0 0 0 ? SW Jul07 0:00 [kjournald]
root 206 0.0 0.0 0 0 ? SW Jul07 0:00 [kjournald]
root 207 0.0 0.0 0 0 ? SW Jul07 0:00 [kjournald]
root 208 0.0 0.0 0 0 ? SW Jul07 0:00 [kjournald]
root 209 0.0 0.0 0 0 ? SW Jul07 0:00 [kjournald]
root 210 0.0 0.0 0 0 ? SW Jul07 0:00 [kjournald]
root 211 0.0 0.0 0 0 ? SW Jul07 0:00 [kjournald]
root 212 0.0 0.0 0 0 ? SW Jul07 0:00 [kjournald]
root 213 0.0 0.0 0 0 ? SW Jul07 0:00 [kjournald]
root 214 0.0 0.0 0 0 ? SW Jul07 0:00 [kjournald]
root 215 0.0 0.0 0 0 ? SW Jul07 0:00 [kjournald]
root 216 0.0 0.0 0 0 ? SW Jul07 0:00 [kjournald]
root 217 0.0 0.0 0 0 ? SW Jul07 0:00 [kjournald]
root 633 0.0 0.0 1480 588 ? S Jul07 0:00 syslogd -m 0
root 638 0.0 0.0 1976 1092 ? S Jul07 0:00 klogd -2
rpc 658 0.0 0.0 1568 620 ? S Jul07 0:00 portmap
rpcuser 686 0.0 0.0 1608 756 ? S Jul07 0:00 rpc.statd
root 837 0.0 0.0 2676 1280 ? S Jul07 0:00 /usr/sbin/sshd
root 913 0.0 0.0 2384 632 ? S Jul07 0:00 rpc.rquotad
root 918 0.0 0.0 1532 512 ? S Jul07 0:00 rpc.mountd
root 924 0.0 0.0 0 0 ? SW Jul07 0:00 [nfsd]
root 925 0.0 0.0 0 0 ? SW Jul07 0:00 [nfsd]
root 926 0.0 0.0 0 0 ? SW Jul07 0:00 [nfsd]
root 927 0.0 0.0 0 0 ? SW Jul07 0:00 [nfsd]
root 928 0.0 0.0 0 0 ? SW Jul07 0:00 [nfsd]
root 929 0.0 0.0 0 0 ? SW Jul07 0:00 [nfsd]
root 930 0.0 0.0 0 0 ? SW Jul07 0:00 [nfsd]
root 931 0.0 0.0 0 0 ? SW Jul07 0:00 [nfsd]
root 933 0.0 0.0 0 0 ? SW Jul07 0:00 [lockd]
root 934 0.0 0.0 0 0 ? SW Jul07 0:00 [rpciod]
root 961 0.0 0.0 5116 1972 ? S Jul07 0:00 sendmail: accepti
root 980 0.0 0.0 1448 492 ? S Jul07 0:00 gpm -t ps/2 -m /d
wnn 1023 0.0 0.0 4744 3440 ? S Jul07 0:00 /usr/bin/cserver
root 1049 0.0 0.0 1592 656 ? S Jul07 0:00 crond
wnn 1069 0.0 0.0 3728 2484 ? S Jul07 0:00 /usr/bin/tserver
xfs 1147 0.0 0.1 6132 4840 ? S Jul07 0:03 xfs -droppriv -da
daemon 1222 0.0 0.0 1448 556 ? S Jul07 0:00 /usr/sbin/atd
root 1243 0.0 0.0 1388 436 tty1 S Jul07 0:00 /sbin/mingetty tt
root 1244 0.0 0.0 1388 436 tty2 S Jul07 0:00 /sbin/mingetty tt
root 1245 0.0 0.0 1388 436 tty3 S Jul07 0:00 /sbin/mingetty tt
root 1246 0.0 0.0 1388 436 tty4 S Jul07 0:00 /sbin/mingetty tt
root 1247 0.0 0.0 1392 440 tty5 S Jul07 0:00 /sbin/mingetty tt
root 1248 0.0 0.0 1392 440 tty6 S Jul07 0:00 /sbin/mingetty tt
root 1345 0.0 0.1 7880 6352 ? S Jul07 0:09 Xvnc :1 -desktop
root 1353 0.0 0.1 6776 4284 ? S Jul07 0:00 twm
root 1436 0.0 0.0 5572 3956 ? S Jul07 0:00 Xvnc :2 -desktop
ident 4503 0.0 0.0 26936 952 ? S Jul08 0:00 identd -e -o
ident 4506 0.0 0.0 26936 952 ? S Jul08 0:00 identd -e -o
ident 4507 0.0 0.0 26936 952 ? S Jul08 0:00 identd -e -o
ident 4508 0.0 0.0 26936 952 ? S Jul08 0:00 identd -e -o
ident 4509 0.0 0.0 26936 952 ? S Jul08 0:00 identd -e -o
root 4673 0.0 0.1 7576 6000 ? S Jul08 0:05 Xvnc :3 -desktop
root 4681 0.0 0.1 6776 4276 ? S Jul08 0:00 twm
root 5207 0.0 0.0 2272 980 ? S Jul08 0:00 xinetd -stayalive
root 6550 0.0 0.1 46488 6332 ? S Jul09 0:00 /usr/sbin/httpd -
root 6589 0.0 0.0 3268 1172 ? S Jul09 0:00 smbd -D
root 6594 0.0 0.0 2436 1088 ? S Jul09 0:04 nmbd -D
apache 22914 0.0 0.1 46568 6516 ? S 04:02 0:00 /usr/sbin/httpd -
apache 22915 0.0 0.1 46572 6540 ? S 04:02 0:00 /usr/sbin/httpd -
apache 22916 0.0 0.1 46556 6496 ? S 04:02 0:00 /usr/sbin/httpd -
apache 22917 0.0 0.1 46556 6496 ? S 04:02 0:00 /usr/sbin/httpd -
apache 22918 0.0 0.1 46556 6504 ? S 04:02 0:00 /usr/sbin/httpd -
apache 22919 0.0 0.1 46556 6504 ? S 04:02 0:00 /usr/sbin/httpd -
apache 22920 0.0 0.1 46568 6516 ? S 04:02 0:00 /usr/sbin/httpd -
apache 22921 0.0 0.1 46572 6540 ? S 04:02 0:00 /usr/sbin/httpd -
root 23497 0.0 0.0 1752 804 ? S 11:39 0:00 in.telnetd: 172.1
root 23498 0.0 0.0 2400 1228 pts/0 S 11:39 0:00 login -- fans
fans 23499 0.0 0.0 2464 1252 pts/0 S 11:39 0:00 -bash
root 23540 0.0 0.0 3012 1056 pts/0 S 11:39 0:00 su
root 23541 0.0 0.0 3120 1324 pts/0 S 11:39 0:00 bash
root 23576 0.0 0.0 2816 840 pts/0 R 11:42 0:00 ps -aux |
|