Skip to content

Instantly share code, notes, and snippets.

@tonejito
Created July 10, 2013 20:12
Show Gist options
  • Save tonejito/5969863 to your computer and use it in GitHub Desktop.
Save tonejito/5969863 to your computer and use it in GitHub Desktop.
./pstree.sh - Display process tree in GNU/Linux without kernel pseudo processes
#!/bin/sh
# = ^ . ^ =
ps afx | egrep -v '\[kthreadd\]|\ \\_\ \[|egrep'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment