Skip to content

Instantly share code, notes, and snippets.

@justdoit0823
Created May 27, 2017 09:20
Show Gist options
  • Save justdoit0823/fae3b6714630ed5d0500c7b4f0a2bf37 to your computer and use it in GitHub Desktop.
Save justdoit0823/fae3b6714630ed5d0500c7b4f0a2bf37 to your computer and use it in GitHub Desktop.
A simple command to list busy processes which don't read ready data.
ps -fp `netstat -tnp|awk '$2 > 0'|awk '{split($NF, a, "/"); print a[1]}'|awk '/^[0-9]/'|sort -n|uniq`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment