checking memory usage with ps

Came across with on the Internet: ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS

If you think the machine is swapping a good way to check is to look at the swap i/o in the output of vmstat 2

Leave a Reply

You must be logged in to post a comment.