[dtrace-discuss] concurrent tracing of multiple processes

David McDaniel damcdani at cisco.com
Thu Jul 19 14:28:53 PDT 2007


I've searched around and cant seem to put my finger on a clear answer. I have a case where I wish to trace a given function in several processes simulateously.

So I have a script:
#!/usr/sbin/dtrace -s
pid$1::somefunc:entry { some action; }
pid$2::somefunc:entry { some action; }
pid$3somefunc:entry { some action; }
pid$4:somefunc:entry { some action; }

  It works fine with as many as 4 pids, but when I go up to 5, it aborts with an error message that it is unable to attach to the 5th pid "unexpected system error".
  Is there a specific limit or restriction?

Thanks


--
This message posted from opensolaris.org


More information about the dtrace-discuss mailing list