Skip to content

Instantly share code, notes, and snippets.

Created September 24, 2014 21:21
What would you like to do?
see if any processes are running bash using dtrace
dtrace -n 'proc:::exec-success/basename(execname)=="bash"/{printf("%d executed %s\n", ppid, execname);}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment