Unix/Linux Go Back    

Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

How to find memory size on solaris zone


Thread Tools Search this Thread Display Modes
Old Unix and Linux 01-21-2009   -   Original Discussion by mokkan
mokkan mokkan is offline
Registered User
Join Date: Aug 2007
Last Activity: 25 January 2010, 12:30 PM EST
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
How to find memory size on solaris zone


How to find memory size on solaris zone? We have total 16 GB and have 3 zone, but not sure how to find memory size for each zone? Please help.
Sponsored Links
Old Unix and Linux 01-21-2009   -   Original Discussion by mokkan
incredible incredible is offline Forum Advisor  
Registered User
Join Date: May 2008
Last Activity: 24 August 2014, 5:15 AM EDT
Location: SINGAPORE.. The "FINE" City
Posts: 2,693
Thanks: 1
Thanked 19 Times in 19 Posts
The amount of physical memory that a Zone uses cannot be constrained as it stands now, but Sun is working on a feature that will address this issue soon
however you can configure capped mem it like this:

zonecfg:my-zone> add capped-memory
zonecfg:zone:capped-memory> set physical=50m
zonecfg:zone:capped-memory> set swap=100m
zonecfg:zone:capped-memory> set locked=30m
zonecfg:zone:capped-memory> end

To change the max-swap resource do the following:

# prctl -n zone.max-swap -r -v 200M `pgrep -z <zone> init`To change the max-locked-memory resource do the following:

# prctl -n zone.max-locked-memory -r -v 100M `pgrep -z <zone> init`Changing the physical memory capping is a little different, you’ll need to use the rcapadm command:

# rcapadm -z <zone> -m 100M

Later you can verify using
# zonecfg -z <zone>
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9 0ktalmagik Solaris 4 02-03-2009 09:37 AM
Solaris Zone : Non global Zone check failed jegaraman Solaris 7 10-22-2008 04:31 AM
How to find memory leak in solaris? Mythili Solaris 2 07-19-2008 12:35 AM
how to find MTU size on solaris. ramky79 Solaris 1 04-01-2008 10:55 PM
How to find RAM size in my Solaris 8 malikabid UNIX for Dummies Questions & Answers 3 02-12-2005 01:01 AM

All times are GMT -4. The time now is 04:48 AM.