Originally posted by Crossday at 2004-3-12 09:50 PM:
把pstree和top比较具有普遍性的页面粘贴过来研究啊
last pid: 39993; load averages: 4.88, 2.04, 1.77 up 2+06:22:57 11:55:49
331 processes: 2 running, 329 sleeping
CPU states: 25.5% user, 0.0% nice, 52.5% system, 0.2% interrupt, 21.8% idle
Mem: 616M Active, 135M Inact, 213M Wired, 38M Cache, 112M Buf, 2908K Free
Swap: 3072M Total, 25M Used, 3047M Free
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND
39359 www 62 0 37556K 18716K RUN 0 3:33 86.28% 86.28% httpd
3722 mysql 2 0 81012K 38428K poll 1 57:04 8.98% 8.98% mysqld
39986 root 34 0 2300K 1400K CPU0 0 0:01 3.47% 1.66% top
39747 www 2 0 37176K 14760K sbwait 1 0:00 0.93% 0.93% httpd
39993 www -6 0 4048K 3572K pipdwt 0 0:00 9.74% 0.93% perl
38908 www 2 0 37392K 19084K sbwait 0 0:01 0.78% 0.78% httpd
38846 www 2 0 37404K 17708K sbwait 1 0:01 0.78% 0.78% httpd
39363 www 18 0 37212K 18172K lockf 1 0:01 0.73% 0.73% httpd
38861 www 2 0 37160K 17568K sbwait 1 0:08 0.59% 0.59% httpd
38795 www 2 0 36784K 17664K sbwait 0 0:01 0.59% 0.59% httpd
39740 www 18 0 37556K 16600K lockf 1 0:00 0.54% 0.54% httpd
38934 www 2 0 37740K 18320K sbwait 1 0:01 0.44% 0.44% httpd
38694 www 2 0 37152K 17120K sbwait 0 0:01 0.24% 0.24% httpd
38811 www 2 0 37276K 18016K sbwait 1 0:02 0.15% 0.15% httpd
38839 www 2 0 37152K 19460K sbwait 0 0:02 0.15% 0.15% httpd
39735 www 2 0 36300K 11508K sbwait 0 0:00 0.15% 0.15% httpd
38784 www 2 0 37384K 19120K sbwait 0 0:08 0.10% 0.10% httpd |