Hello,
I think both are showing the correct values... what exactly
seems off to you? You have got some cca 85 MB really "free" memory and
the 8352 MB is FREE + BUFFERS + CACHE - because the OS can drop
caches/buffers and make more free memory. The rest is really being used
by processes.
Hope this helps a bit,
Morgan
________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of raid fifa
Sent: Monday, September 20, 2010 9:35 AM
To: [email protected]
Subject: [rhelv5-list] mismatch between top and free -m
Hi guys,
I have a RHEL5(2.6.18-92.1.1.el5 x86_64 ) system, found there is big
gap(8352MB vs ~5GB) between the output of top and free , like the
following:
!179 $ free -m
total used free shared buffers
cached
Mem: 15925 15837 88 0 76
7408
-/+ buffers/cache: 8352 7573
Swap: 8189 0 8189
top - 03:34:23 up 29 days, 6:15, 5 users, load average: 3.92, 3.72,
2.70
Tasks: 172 total, 1 running, 171 sleeping, 0 stopped, 0 zombie
Cpu(s): 23.2%us, 3.1%sy, 0.0%ni, 63.4%id, 9.7%wa, 0.0%hi, 0.6%si,
0.0%st
Mem: 16307832k total, 16222676k used, 85156k free, 78732k buffers
Swap: 8385920k total, 148k used, 8385772k free, 8372932k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
30311 ads 18 0 9801m 4.9g 121m S 207 31.6 30:32.64 ads
3414 root 15 0 158m 10m 3276 S 1 0.1 9:51.47 snmpd
15339 ntp 15 0 23752 5388 4272 S 0 0.0 0:01.56 ntpd
30309 ads 19 0 70064 4636 2228 S 0 0.0 0:00.01 python
4090 root 18 0 141m 3916 2464 S 0 0.0 0:13.39 cmanicd
4678 haldaemo 15 0 29524 3876 1284 S 0 0.0 0:01.11 hald
3129 root RT 0 21976 3564 2732 S 0 0.0 0:00.00 multipathd
7404 root 16 0 89240 3220 2512 S 0 0.0 0:00.01 sshd
5423 root 16 0 88344 3216 2512 S 0 0.0 0:00.01 sshd
26348 root 17 0 88348 3216 2512 S 0 0.0 0:00.01 sshd
1156 root 16 0 88348 3212 2512 S 0 0.0 0:00.02 sshd
1971 root 17 0 88348 3212 2512 S 0 0.0 0:00.00 sshd
1857 eng 15 0 94216 3116 1948 S 0 0.0 0:00.06 vim
29121 ads 15 0 94192 3084 1936 S 0 0.0 0:00.02 vim
3977 root 18 0 4872 2592 1876 S 0 0.0 3:39.29 cmaidad
3987 root 15 0 14956 2568 1960 S 0 0.0 0:00.11 cmafcad
15304 root 15 0 67064 2312 796 S 0 0.0 0:00.15 sendmail
3963 root 18 0 4480 2264 1720 S 0 0.0 0:02.16 cmaeventd
15312 smmsp 15 0 57820 1768 640 S 0 0.0 0:00.01 sendmail
7406 eng 15 0 89240 1752 1028 S 0 0.0 0:00.63 sshd
5425 eng 16 0 88344 1728 1020 S 0 0.0 0:00.01 sshd
.... ....
any advice ?
thanks.
*^_^*
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list