Let's Blog about IT
A blog about journey of a DevOps engineer
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment