> To capture the resources used by short lived processes, you need to
> use accounting

You can use accounting, but you don't need to.  It's also possible to do
this with DTrace.  DTrace has the benefit that it can be enabled only
when needed, and the scripts allow it to be easily customized.  Brendan
Gregg has an example of how to do this in the dtrace toolkit:

The script:

http://www.brendangregg.com/DTrace/shortlived.d

The example:

http://www.brendangregg.com/DTrace/shortlived_example.txt

The toolkit:

http://www.brendangregg.com/dtrace.html

-j
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to