Thursday, August 16, 2012

Linux - how to show the memory usage per process

Top is a very useful command to show real time overall system health like CPU,memory and  swap status
 
But when come to memory leak detection, we will need more detail information like which process consumes how much memory

Command below comes handy:-
ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS

No comments:

Post a Comment