danielhilst

sort-processes-by-system-usage.sh

May 20th, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. find /proc/[0-9]*/stat -exec cat {} \; | awk '{ print $2 " " $(15) }' | sort -nrk2 | head
Advertisement
Add Comment
Please, Sign In to add comment