Get a list of unique dtrace providers


/ Published in: Bash
Save to your folder(s)

Get a list of providers for DTrace that OSX supports. (DTrace is a probe/profiling tool created by Sun that came with Mac OS X starting with Leopard.)


Copy this code and paste it in your HTML
  1. sudo dtrace -l | perl -pe 's/^.*?\S+\s+(\S+?)([0-9]|\s).*/\1/' | sort | uniq

URL: http://hints.macworld.com/article.php?story=2011041708150728

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.