We help IT Professionals succeed at work.

memory issue in linux

jogi007
jogi007 asked
on
How do i memory ( such memory leak, optimization etc)  troubleshooting in red hat linux ver 3,4,5
Comment
Watch Question

Commented:
To see free memory, run:

free -m

You always see that all of your memory is showing as 'used', this is because linux will always use it up for disk caching.  What you need to look for is the buffers/cache row used value  This is how much space your running processes are actually consuming.  Obvioulsy you don't want this to exceed your available memory & swap.

Commented:
Also, if you want to see where all your memory is being used:

ps aux

This will show you the percentage of memory each process is using.