同一linux系统用不同命令显示内存值不一致?
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
rb swpd free buffcache si so bi bo in cs us sy id wa
00 2083437290844 719836 0 0 1 5 8 1200 1000
00 2083437290844 719836 0 0 0 0 1017 2300 1000
00 2083434490844 719836 0 0 0 0 1030 3500 1000
00 2083434490844 719836 0 0 0 34 1016 2600 1000
00 2083434490844 719836 0 0 0 0 1015 2500 1000
00 2083434490844 719836 0 0 0 0 1018 2800 1000
00 2083434490844 719836 0 0 0 0 1017 2200 1000
00 2083440890844 719836 0 0 0 0 1020 2200 1000
00 2083440890844 719836 0 0 0 0 1018 2100 1000
………………
页:
[1]