Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Genuine question: what's the usefulness of Solaris' default behavior? Why kill all processes?


It'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.


I 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.


Yep, and as weird as killall on solaris is-- the naming of killall on linux is kinda weird. It's "killbyname".


I don’t know? ‘Killall node’ sounds like kill all node processes to me.


HPUX also did the same if I recall. Had to be careful swapping back between it and Linux.


I assume it’s part of the shutdown process. Makes sense in a way: kill -> killall.


Sometimes I use kill -15 -1 on Linux to log me out, but obviously not as root.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: