Skip to content

Instantly share code, notes, and snippets.


Rod Vagg rvagg

View GitHub Profile
wolfeidau / testing out
Created Mar 12, 2013
Messing around with dtrace and node.
View testing out

Monitoring a process which was exec'd using the -c switch.

$ pfexec dtrace -n 'profile-97/pid == $target && arg1/{@[jstack(100, 8000)] = count(); } tick-60s { exit(0); }' -c node
dtrace: description 'profile-97' matched 2 probes
> dtrace: pid 79919 has exited

You can’t perform that action at this time.