Power off a Solaris system

Posted September 4, 2003 by Quinn McHenry in Solaris

This command will safely turn off a Solaris system using the init command.


As superuser,

sync; sync; init 5

Using the init command instead of other options causes the system to use the runtime control scripts in /etc/rc0.d to stop system processes nicely and prevent data corruption.

 

About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.