Pages

Tuesday, May 13, 2014

Sort all processes by the amount of virtual memory they are using

$ ps -e -o pid,vsz,comm= | sort -n -k 2

left-most column is PID, middle is virtual memory being consumed, right-most is actual process.




commandlinefu.com


by David Winterbottom (codeinthehole.com)






from All commands http://ift.tt/1nLumBA

No comments:

Post a Comment