Professional Documents
Culture Documents
Zone States
Shutting down +
Normal state when a zone is being shutdown.
Down (active)
/etc/zones/index
zone index
Note: used by /lib/svc/method/svc-zones to start and stop zones
Cheat sheet
zonecfg -z <zone>
Creating a zone
see creating a zone for a more details
Ready a zone
zoneadm -z <zone> ready
datadisk.co.uk/…/solaris_zones_cs.html 1/2
1/5/2011 Solaris Zones Cheat Sheet
# pkgadd -G -d . <package>
add/remove a package (global
zone) If the -G option is missing the package will be
added to all zones
# pkgadd -Z -d . <package>
add/remove a package (non-
global zone) If the -Z option is missing the package will be
added to all zones
# prstat -Z
# prstat -z <zone>
display the zones process
Note:
informtion
-Z reports information about processes and
zones
-z reports information about a particular zone
datadisk.co.uk/…/solaris_zones_cs.html 2/2