Re: [zones-discuss] zonestat, prstat -Z, and cpu accounting

2010-08-17 Thread Steve Lawrence
Peter Tribble wrote: On Tue, Jul 27, 2010 at 5:34 PM, Steve Lawrence wrote: Now, if you want to account for cpu utilization by children, why not use the pr_ctime member of the psinfo structure? As far as I understand it, that collects cpu for child processes that exit, so why can't that be

Re: [zones-discuss] zonestat, prstat -Z, and cpu accounting

2010-07-30 Thread Peter Tribble
On Tue, Jul 27, 2010 at 5:34 PM, Steve Lawrence wrote: >> >> Now, if you want to account for cpu utilization by children, >> why not use the pr_ctime member of the psinfo structure? >> As far as I understand it, that collects cpu for child processes >> that exit, so why can't that be used instead

Re: [zones-discuss] zonestat, prstat -Z, and cpu accounting

2010-07-27 Thread Steve Lawrence
Peter Tribble wrote: Looking at the recent zonestat arc case reminded me of something I've been meaning to ask for a while. In the case, it says: prstat polls /proc, and will not account for cpu used by short-lived processes. and Extended accounting must be used to compute the

[zones-discuss] zonestat, prstat -Z, and cpu accounting

2010-07-27 Thread Peter Tribble
Looking at the recent zonestat arc case reminded me of something I've been meaning to ask for a while. In the case, it says: > prstat polls /proc, and will not account for > cpu used by short-lived processes. and > Extended accounting must be used to > compute the cpu utilization because it wil