dtrace -n 'syscall:::entry { @num pid,execname » = count(); }'
DTrace: The Reverse Engineer’s Unexpected Swiss Army Knife. Tiller Beauchamp, David Weston.
"dynamic instrumentation of production systems", bryan m. cantrill, michael w. shapiro, adam h. leventhal.
how to use dtrace on solaris