Process memory usage summary in AIX
This is from the Performance Management book on the AIX Infocenter. A useful command to list the top 15 memory-using processes on the system.
svmon -Pt15 | perl -e 'while(<>){print if($.==2||$&&&!$s++);$.=0 if(/^-+$/)}'
Labels: aix
1 Comments:
I suggest the shorter form :
svmon -Pt15 | perl -ne 'print if($.==2||$&&&!$s++);$.=0 if(/^-+$/)'
I'm pretty sure we can do shorter, but I'm hungry and I'm going to a pretty Japanese Bar at La Defense ;)
--
David "Sniper" Rigaudiere
Post a Comment
Subscribe to Post Comments [Atom]
<< Home