Special commands for zones, Version 3.1-en – Sun Microsystems SOLARIS 10 User Manual
Page 73
Version 3.1-en
Solaris 10 Container Guide - 3.1 5. Cookbooks
Effective: 30/11/2009
5.1.2. Special commands for zones
[dd/ug] The creation and usage of zones in Solaris 10 is done by the following commands:
Command
Description
zoneadm(1M)
Administration of zones
(installation/uninstallation, booting/rebooting/halting, listing)
zonecfg(1M)
Zone configuration
zlogin(1)
Zone login from the global zone
-C
Connection to the zone console
zonename(1)
Print the name of the current zone
Table 6: [dd/ug] Commands for zones
With the following commands, administrative actions with respect to zones are possible:
Command
Description
dladm(1M)
Administration of data links
ifconfig(1M)
zone
assigns a virtual IP address to a zone
-zone
gives a virtual IP address back to the global zone
-Z
executes the command for all interfaces in the zone
ipcrm(1)
-z deletes a message queue, a semaphore set or a shared memory ID of a zone patchadd(1M) -G installs a patch in the current zone only (caution!) pkill(1) -z applies pkill to processes in zone zoneid pkgadd(1M) -G installs a package in the current zone only (caution!) pooladm(1M) Activation and deactivation of resource pools poolbind(1M) -i zoneid binds all processes of the zone poolcfg(1M) Configuration of Ressource Management prctl(1) -i zoneid Displaying and modification of resource controls of zone processes priocntl(1) -i zoneid Displaying and changing the scheduling parameters in a zone. rctladm(1M) Displaying and modification of global settings for resource controls renice(1) -i zoneid modifies the priority of running processes in Table 7: [dd/ug] Administrative commands for zones 66