Re: [zones-discuss] [osol-code] Zones memory usage from the Global Zone

2009-04-09 Thread Steve Lawrence
You can use "prstat -cZ 1 1" to get the resident memory in use by each zone. This command counts shared pages correctly. It uses a private interface. On Wed, Apr 08, 2009 at 03:52:01PM -0700, OpenSolaris Forums wrote: > Hello Bart, > > thanks for your suggestion... but I have another question >

Re: [zones-discuss] [osol-code] Zones memory usage from the Global Zone

2009-04-09 Thread OpenSolaris Forums
Hello Bart, thanks for your suggestion... but I have another question using the suggested prxmap struct I can obtain the private memory usage for each process, but I will lose all the information about the shared memory let me better explain the problem with an example: Zone_1 -> Process_A

Re: [zones-discuss] Zonestat v1.4 Available

2009-04-09 Thread Jeff Victor
On Thu, Apr 9, 2009 at 4:44 AM, Henrik Johansson wrote: > Nice work Jeff! Thanks Henrik! > Some thoughts: > > Would not 1024 be bettet suited than 1000 for shorten? Currently if I set a > swap capping with zonecfg to 256G it is displayed as 275G in zonestat. > > It would be nice to check for pat

Re: [zones-discuss] Zonestat v1.4 Available

2009-04-09 Thread Henrik Johansson
Nice work Jeff! Some thoughts: Would not 1024 be bettet suited than 1000 for shorten? Currently if I set a swap capping with zonecfg to 256G it is displayed as 275G in zonestat. It would be nice to check for patch 127127-11, 137137-09 etc instead of looking at /etc/release since the syst