Showing results for 
Search instead for 
Did you mean: 

memory usage in Linux

John Guster
Trusted Contributor

memory usage in Linux

#free -k output is below:
total used free shared buffers cached
Mem: 2074872 2048848 26024 0 93632 140040
-/+ buffers/cache: 1815176 259696
Swap: 2096472 2096470 2
what is wrong with this? there are zero in si/so of vmstat, CPU is 99% idle. Any suggest?
Steven E. Protter
Exalted Contributor

Re: memory usage in Linux


The obvious issue here is that a large amount of memory has been allocated to a process that is currently asleep.

If the system is responsive, its not a big deal.

I would check what is running and see what amount of memory it is using.

I would download the memory leak detector script here

Run the Linux code and see what processes have what memory allocated.

Post output if you wish.

Steven E Protter
Owner of ISN Corporation
Frequent Advisor

Re: memory usage in Linux

The si/so in vmstat output represent the Swap
si: Amount of memory swapped in from disk.
so: Amount of memory swapped to disk.

When the CPU is idle for 99%. It suggest that their is no load on the System.

John Guster
Trusted Contributor

Re: memory usage in Linux

thanks for the suggestions.