A short pod cast about the Illumos shutdown command
Hosted by Klaatu on Friday 2019-01-11 is flagged as Clean and is released under a CC-BY-SA license.
Tags: sys admin,systems,unix,illumos.
Listen in ogg,
mp3 format. | Comments (1)
In response to JWP's episode 2697 and ClaudioM's comment, this show covers the
shutdown command as it appeared in Sun Solaris and OpenSolaris, and currently appears in both Oracle Solaris and OpenIndiana.
The quick version:
-i sets the destination init state (5 to shutdown, 6 to reboot, and so on; see
man init for more)
-y to answer "yes" to the safeguard prompt asking you whether you really want to shutdown
-g to set how many seconds until shutdown. Default is 60.
In practise, I don't even use the shutdown command. I use
poweroff, which does a shutdown and poweroff.
Both shutdown and poweroff require root permission. On OpenIndiana, you can either use
sudo bash or
pfexec bash to get a root prompt.
Sun Microsystem docs (with Oracle branding on it)
Automatically generated using whisper
whisper --model tiny --language en hpr2725.wav
Comment #1 posted on 2019-01-11T19:21:40Z by ClaudioM
Quite a Different Shutdown
A very informative episode. I hadn't realized how different the shutdown command functions on illumos-based operating systems is from the BSDs and Linux. You've also inspired me to make an HPR episode on a similar command with the same name in another OS I have to use from time to time.
<< First, < Previous, Next >, Latest >>
Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.
Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).