- 论坛徽章:
- 0
|
Tru64的系统,监控总是说内存占用率高
用top查看结果如下:
load averages: 0.93, 0.95, 1.01 10:03:58
150 processes: 4 running, 29 waiting, 68 sleeping, 48 idle, 1 zombie
CPU states: 0.5% user, 13.0% nice, 9.9% system, 76.4% idle
Memory: Real: 2553M/4000M act/tot Virtual: 37M/8857M use/tot Free: 83M
PID USERNAME PRI NICE SIZE RES STATE TIME CPU COMMAND
1805433 billing 44 2 685M 275M run 517:51 66.10% reprocessingpr
1572864 root 0 0 5239M 186M run 500:03 4.90% kernel idle
1573328 root 44 0 13M 3620K sleep 86:04 0.90% acactmgr
1778349 billing 44 0 484M 14M sleep 0:39 0.40% roam_inter
1925119 root 44 0 6192K 3252K run 0:01 0.30% top
1776492 billing 44 0 120M 31M run 11:31 0.20% amqzlaa0
1573029 root 44 0 2064K 65K sleep 7:58 0.10% update
1776438 billing 44 0 8816K 1155K sleep 3:43 0.10% amqhasmx
1778223 billing 44 0 477M 8814K sleep 0:23 0.10% roam
1778019 billing 44 0 515M 119M sleep 70:07 0.00% billing_credit
1778751 billing 44 0 503M 103M sleep 48:05 0.00% sep
1778777 billing 44 0 502M 100M sleep 34:38 0.00% sep
1778908 billing 44 0 446M 52M sleep 31:40 0.00% sep_hwsettle
1778026 billing 44 0 954M 77M sleep 20:52 0.00% chargingproc
1777991 billing 44 0 955M 88M sleep 20:04 0.00% chargingproc
用vmstat查看结果如下:
# vmstat 1 10
Virtual Memory Statistics: (pagesize = 8192)
procs memory pages intr cpu
r w u act free wire fault cow zero react pin pout in sy cs us sy id
7 680 141 463K 10K 37K 127M 28M 62M 612K 16M 9895 1K 3K 6K 17 6 77
7 676 141 463K 11K 37K 526 129 52 0 44 0 1K 6K 6K 20 5 75
7 676 141 463K 11K 37K 2 76 46 0 37 0 485 1K 3K 17 2 81
7 676 141 463K 11K 37K 0 0 0 0 0 0 514 897 3K 18 2 81
8 675 141 463K 10K 37K 1 0 1 0 0 0 515 995 3K 31 2 67
7 676 141 463K 10K 37K 0 0 0 0 0 0 334 639 2K 38 1 61
7 676 141 463K 10K 37K 0 0 0 0 0 0 470 863 3K 39 1 60
8 676 141 463K 10K 37K 151 44 43 0 35 0 595 1K 3K 44 2 54
7 677 141 463K 10K 37K 3 3 3 0 1 0 609 1K 3K 43 2 55
9 675 141 463K 10K 37K 0 0 0 0 0 0 496 1K 3K 52 3 45
#
到底内存使用的是多少那,这2个命令我也看不太清楚,高手能不能帮忙解释下。
从top命令显示的Memory: Real: 2553M/4000M act/tot Virtual: 37M/8857M use/tot Free: 83M
中看,实际内存还有1447M,剩36%。虚拟内存剩的就更多了,为什么最后的free只有83M。
另外从vmstat命令显示的结果能得出什么, pin pout in 都是什么东西那。谢谢了! |
|