System Administration Guide: Oracle Solaris 9 Containers

Using zonecfg to Set Resource Controls

The zonecfg command can be used from the global zone to restrict the System V limits within the zone.


Example 7–2 Setting Resource Controls From the Global Zone

You must be the global administrator in the global zone to perform these procedures.


global# zonecfg -z mys9zone set max-shm-memory=100m

If you use zonecfg after initial zone creation, reboot the zone to have the change take effect.


global# zoneadm -z mys9zone reboot