4 ms·
I'd imagine something like "shutdown -h now" or the solaris equivalent
by m_samuel_l 9y ago
I'd imagine something like "shutdown -h now" or the solaris equivalent
- gruturo 9y agoSolaris 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)
- fimbulvetr 9y agoMore like: lom> poweroff As that is definitely something the os has no cability to block.
- Nursie 9y agoStop-A :)
- mjcl 9y agoGood old killall!
- justin66 9y agoWhich behaves differently on Solaris than Linux, of course. Linux killall kills specific processes but on Solaris it forcefully kills everything on the landscape...
- vacri 9y agoIt 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.
- justin66 9y agoI 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...
- mjcl 9y agoYup, 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.
- zdw 9y ago`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.