Hacker News new | ask | show | jobs
by m_samuel_l 3212 days ago
I'd imagine something like "shutdown -h now" or the solaris equivalent
4 comments

Solaris would understand that, but Oracle's move was nowhere that gentle.

"uadmin 1 6" was more like it (Immediate poweroff, do not even sync disks)

More like:

lom> poweroff

As that is definitely something the os has no cability to block.

`shutdown -i 0 -g 0 -y` would be that Solaris equivalent (init level 0, grace period 0, yes to all prompts)

Solaris and derivatives are great OS's and far before their time in so many ways.

Stop-A :)
Good old killall!
Which behaves differently on Solaris than Linux, of course. Linux killall kills specific processes but on Solaris it forcefully kills everything on the landscape...
It doesn't shut the machine down though, right? Just kills all the processes? I remember reading somewhere that solaris-killall was only a part of the shutdown process.

I remember having a related problem with an ubuntu cloud server a while back. I'd called 'halt' instead of 'shutdown' - they're not the same, and on this machine 'halt' didn't actually send the 'okay, now power off' bit.

I learned what Solaris killall did in a very exciting and stressful way, but that was long ago and to be honest I'm not 100% sure. I believe I was left with a root prompt on the server itself and nothing else.

I remember being disgusted by the various halt, shutdown, reboot commands and so I learned what the various init run levels could do. That worked until I realized that Redhat and Debian set them up differently. At least init 0 is generally the same...

Yup, I learned that it was different on Solaris than Linux on a remote system. Had to sheepishly call and ask someone to powercycle the box.