Re: [CentOS] Memory reporting...

2009-07-07 Thread John Doe
From: Peter Kjellstrom c...@nsc.liu.se On Monday 06 July 2009, John Doe wrote: When I do a free, I get: total used free sharedbuffers cached Mem: 18482800 18030668 452132 0 6830689426792 -/+ buffers/cache:7920808

Re: [CentOS] Memory reporting...

2009-07-07 Thread Sander Snel
try vmstat, see all the options in man vmstat it reads from /proc/meminfo and /proc/stat #vmstat -a 5 -S m on my system with 2 GB ram it shows that i'm having 18 mb free, 922 mb inactive and 821 mb active my running processes only use a tiny bit of my active ram, you can check it with: #ps aux

[CentOS] Memory reporting...

2009-07-06 Thread John Doe
Hi, I have a little question about memory usage... When I do a free, I get: total used free sharedbuffers cached Mem: 18482800 18030668 452132 0 6830689426792 -/+ buffers/cache:7920808 10561992 But, when I do a ps, mysql

Re: [CentOS] Memory reporting...

2009-07-06 Thread nate
John Doe wrote: Hi, I have a little question about memory usage... When I do a free, I get: I calculate system memory usage by (total memory) - (free memory) - (cached memory) - (buffers memory) The free memory reported by free/top/other tools is very misleading, and is the topic of many

Re: [CentOS] Memory reporting...

2009-07-06 Thread Peter Kjellstrom
On Monday 06 July 2009, John Doe wrote: Hi, I have a little question about memory usage... When I do a free, I get: /proc/meminfo may give you a more detailed summary. /Peter total used free sharedbuffers cached Mem: 18482800 18030668