It is definitely possible to do so with DTrace by capturing events when threads goes on/off cpu then record the data onto an aggregate indexed by zonename.
IIRC, prstat uses microstate by default as of S10 so it is not sampling. Depending on what you are doing, you might want to look at acct(1M). On Wed, Nov 12, 2008 at 4:32 PM, Davide Vanoni <[EMAIL PROTECTED]> wrote: > Andrew wrote: >>Are you aware of prstat -Z ? >>Not quite the same, but maybe it gives you what you need? >> > Thanks for your reply! Unfortunately prstat ignores anything that happened > between samples. I need something that maintains information about cpu > utilization between samples (for short-lived processes). The problem is to > take precisely this kind of information by zones. Maybe it is possible to do > it with dtrace but I don't know how. Thanks for your suggestions! > -- > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss@opensolaris.org > -- Just me, Wire ... Blog: <prstat.blogspot.com> _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org