NSAS Wiki

Network System Access Solutions

User Tools

Site Tools


Sidebar

Contact

linux:ps

Top 10 mem using prossess

ps auxf | sort -nr -k 4 | head -10

Log top 10 mem prossess and memstatus

while true ; do { echo -e "\nMEM LOAD @ $(date)\n" ; ps auxf | sort -nr -k 4 | head -10 ; echo "" ; cat /proc/meminfo; } >> /tmp/memload.log ; sync ; sleep 10 ; done

Top 10 cpu using prossess

ps auxf | sort -nr -k 3 | head -10

Prossesses and Threats from a single users

ps -LF -u USERNAME
linux/ps.txt · Last modified: 2013/08/30 13:25 by michel.pelzer