I'm writing a small application to collect memory information about the local zones from the global zone...
My first idea was to create a for cycle on the psinfo structures in order to sum all the RSS and VSZ value from the processes in the same zone... it works but it sums many times the same shared memory parts (for example it appears as though Oracle is using several times more memory than what is actually installed on the system). To properly determine how much memory a process is using, I should use an API that separates private and shared memory information about processes running in the local zones. Does anybody know how I can get Zones' memory usage from the Global zone? Does it exist an API to collect this information? Thanks in advance!!! -- This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code