For SWAP there is a new kstat:
caps:{zoneid}:swapresv_zone_{zoneid}
The only way I know how to calculate how much memory a zone is using is
via /proc and filter on the zoneid
Michel Schuster wrote:
> Dear Steven,
>
> Do you have any updates regarding zone observability features. I've
> downloaded Solaris10 U4 and need to monitor the used memory per zone, plus
> swap and locked memory used.
> Ideally, DTrace scripts would be welcome.
> Do you have any clues on this subject ?
>
> Right now, I'm only able to retrieve RSS and used swap through prstat -Z run
> from the global zone.
>
> Thanks a lot
>
>
> This message posted from opensolaris.org
> _______________________________________________
> zones-discuss mailing list
> [email protected]
--
-----------------------------------------------------------------------
______ Joseph Balenzano
/_____/\ ISV Engineering
/____ \\ \ Sun Microsystems Inc.
/_____\ \\ / 2 Stamford Plaza, 12th Floor
/_____/ \/ / / 281 Tresser Blvd
/_____/ / \//\ Stamford, CT 06901
\_____\//\ / /
\_____/ / /\ / [EMAIL PROTECTED]
\_____/ \\ \ Phone/Fax: (203) 653-4186
\_____\ \\
\_____\/
----------------------------------------------------------------------
_______________________________________________
zones-discuss mailing list
[email protected]