1.
ps aux | awk '{print $2, $4, $11}' | sort -k2rn | head -n 20
(in descending order for the first 20 processes)
2.
ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS
(all the processes in ascending order per memory)
3.
ps aux --sort -rss|more
(in descending order)
and
ps fauxwww
(shows all processes by thread very elegantly)
Friday, April 5, 2013
How to find usage of memory per process in linux
Posted by giannis at 2:23 AM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment