Archive for March, 2008

pid2proc for DTrace

The other day, there was an interesting post on the DTrace mailing list asking how to derive a process name from a pid. This really ought to be a built-in feature of D, but it isn’t (at least not yet). I hacked up a solution to the user’s problem by cribbing the algorithm from mdb’s [...]





Posted on March 13, 2008 at 1:11 am by ahl · Permalink · Comments Closed
In: DTrace