Skip to content

Instantly share code, notes, and snippets.

@brianhillz0r
Forked from hydra35/list_kthread.sh
Created May 16, 2014 18:39
Show Gist options
  • Save brianhillz0r/64ad9779725f10f0e19b to your computer and use it in GitHub Desktop.
Save brianhillz0r/64ad9779725f10f0e19b 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