How to Use zlogin to Shut Down a Zone
Note -
Running init 0 in the global zone to cleanly shut down a Oracle Solaris system also
runs init 0 in each of the non-global zones on the system. Note that
init 0 does not warn local and remote users to log off before the system is taken
down.
Use this procedure to cleanly shut down a zone. To halt a zone without running shutdown
scripts, see How to Halt a Zone.
- Become a zone administrator.
For more information, see Assigning Limited Rights to Zone Administrators.
-
Log in to the zone to be shut down, for example, my-zone, and specify
shutdown as the name of the utility and init 0 as the
state.
global$ zlogin my-zone shutdown -i 0
Your site might have its own shutdown script, tailored for your specific environment.