Re: [zones-discuss] Per-zone CPU Usage Reporting?

2009-09-18 Thread Hernan Saltiel
Hello, Jeff! Have you tried prstat -Z? Is this not what you are looking for? Best regards, HeCSa. http://www.aosug.com.ar On Fri, Sep 18, 2009 at 10:27 AM, Jeff Victor jeff.j.vic...@gmail.comwrote: Has anyone written a tool to provide per-zone reporting of CPU usage - that can be shared? I

Re: [zones-discuss] Per-zone CPU Usage Reporting?

2009-09-18 Thread Mike Gerdts
On Fri, Sep 18, 2009 at 8:30 AM, Mads Toftum m...@toftum.dk wrote: On Fri, Sep 18, 2009 at 09:27:54AM -0400, Jeff Victor wrote: Has anyone written a tool to provide per-zone reporting of CPU usage - that can be shared? I know someone who wants to do this. There's

Re: [zones-discuss] Per-zone CPU Usage Reporting?

2009-09-18 Thread Jeff Victor
Hernan, In addition to Mike's point about short-lived processes, prstat doesn't tell me how much CPU time a process used during its life. Solaris Accounting will generate a record for each process, showing how much CPU time it used, and which zone it was in. If you collect all of the records, you

Re: [zones-discuss] Per-zone CPU Usage Reporting?

2009-09-18 Thread Hernan Saltiel
That's right, there is a key term here, and is reporting, which involves accounting. Thanks, Jeff! Best regards, HeCSa. On Fri, Sep 18, 2009 at 1:48 PM, Jeff Victor jeff.j.vic...@gmail.comwrote: Hernan, In addition to Mike's point about short-lived processes, prstat doesn't tell me how