4 ms·
Genuine question: what's the usefulness of Solaris' default behavior? Why kill all processes?
by haolez 5y ago
Genuine question: what's the usefulness of Solaris' default behavior? Why kill all processes?
- bombcar 5y agoI assume it’s part of the shutdown process. Makes sense in a way: kill -> killall.
- moehm 5y agoSometimes I use kill -15 -1 on Linux to log me out, but obviously not as root.
- justin66 5y agoIt's used in the Solaris init scripts for shutdown, shortly before the system tries to unmount all mounted disk volumes. I made the same mistake nullc made once, as I was more accustomed to linux than solaris. That was after hours and the effect was immediate, but it was still a pretty jarring and memorable moment.
- marcosdumay 5y agoI oversaw a Solaris machine for a very short period, and never got any reason to use it. But if you can change the signal, sending SIGHUP into everything looks like reasonable thing to do. Still, it's not something common enough to deserve it's own program.
- nullc 5y agoYep, and as weird as killall on solaris is-- the naming of killall on linux is kinda weird. It's "killbyname".