1. ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 1 -nr | head -5
2. use top command
then SHIFT + f button in the keyboard
Press the Letter corresponding to %MEM
Then press ENTER
3. ps aux | awk '{print $2, $4, $11}' | sort -k2rn | head -n 10
4. ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS
2. use top command
then SHIFT + f button in the keyboard
Press the Letter corresponding to %MEM
Then press ENTER
3. ps aux | awk '{print $2, $4, $11}' | sort -k2rn | head -n 10
4. ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS
No comments:
Post a Comment