|
vmstat中的swpd表示已用内存
与top命令中的1000780 userd 数目不一致,为什么呀?
同一个系统的top、vmstat信息如下:
top:
top - 16:58:06 up 9 days, 23:02, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 99 total, 1 running, 97 sleeping, 0 stopped, 1 zombie
Cpu(s): 0.1% us, 0.2% sy, 0.0% ni, 99.8% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 1034400k total, 1000780k used, 33620k free, 90844k buffers
Swap: 2096472k total, 208k used, 2096264k free, 719836k cached
……………………
vmstat
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 208 34372 90844 719836 0 0 1 5 8 12 0 0 100 0
0 0 208 34372 90844 719836 0 0 0 0 1017 23 0 0 100 0
0 0 208 34344 90844 719836 0 0 0 0 1030 35 0 0 100 0
0 0 208 34344 90844 719836 0 0 0 34 1016 26 0 0 100 0
0 0 208 34344 90844 719836 0 0 0 0 1015 25 0 0 100 0
0 0 208 34344 90844 719836 0 0 0 0 1018 28 0 0 100 0
0 0 208 34344 90844 719836 0 0 0 0 1017 22 0 0 100 0
0 0 208 34408 90844 719836 0 0 0 0 1020 22 0 0 100 0
0 0 208 34408 90844 719836 0 0 0 0 1018 21 0 0 100 0
……………… |
|