Skip to content

Instantly share code, notes, and snippets.

@atroche
Last active March 9, 2017 01:55
Show Gist options
  • Save atroche/20c4be629767ae512cda8ed9b336897b to your computer and use it in GitHub Desktop.
Save atroche/20c4be629767ae512cda8ed9b336897b to your computer and use it in GitHub Desktop.
sudo dtrace -o syscalls_by_process.txt -n 'syscall:::entry { @num[execname] = count(); }' &
sleep 60*10 && jobs -p|tail -1|xargs sudo kill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment