checking memory usage with ps
Thursday, June 16th, 2011Came 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