How can I display the memory usage of each process if i do a 'ps -ef'
For example, how can I find the top 20 processes that occupy the most memory?
My Linux system is going to run out of memory...
How can I find the processes which I can kill, in order to have enough memory to keep my Linux safely up and running?
[mirror@home tmp]$ free -m total used free shared buffers cached Mem: 1024 741 282 0 0 0 -/+ buffers/cache: 741 282 Swap: 0 0 0 // no swap is enable on openvz machine;(