Skip to content

Instantly share code, notes, and snippets.

@jthmiranda
Forked from brianhillz0r/list_kthread.sh
Created May 16, 2014 19:59
Show Gist options
  • Save jthmiranda/72d24d1807004998ad15 to your computer and use it in GitHub Desktop.
Save jthmiranda/72d24d1807004998ad15 to your computer and use it in GitHub Desktop.
ps auwx | grep -E '\[.*\]' | grep -v grep | awk '{print $NF}' | awk -F/ '{print $1}' | sed 's/\[//g' | sed s'/\]//g' | sort | uniq | sort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment