If you are new to Unixmen, you may want to subscribe : ![]()
![]()
![]()
![]()
16 March 2009
The process of shutting down a Solaris system is critical. Using the init program to restart a system causes Solaris to perform a sequence of steps to shutdown services gracefully. The reboot command bypasses the runtime control scripts and can compromise data integrity. The sync commands synchronize the filesystem, flushing buffered data to disk.
To Shutdown
The best command to shutdown is this, executed as root:
shutdown -y -i5 -g0
You can also use an older command :
sync;sync;init 5
You can even use:
poweroff
To Reboot
If you are trying to reboot the system as opposed to turning it off, you could use:
shutdown -y -i6 -g0
Or:
sync;sync;init 6
Or even:
reboot
If you have a Tip, tutorial, Idea or anything you want to share with unixmen readers, you can send it to : tips[a]unixmen.com or use our contact form Thanks.

