s6-portable-utils
Software
skarnet.org
The s6-nuke program
s6-nuke sends signals to every process it is allowed to send.
Interface
s6-nuke [ -h | -t | -k ]
- Depending on the options it is given, s6-nuke sends signals to
all processes; depending on s6-nuke's rights, not all processes may
receive them.
- s6-nuke protects itself against the signals it sends (which
doesn't do much good against SIGKILL). If it survives the blast,
it exits 0.
Options
- -h : send a SIGHUP
- -t : send a SIGTERM then a SIGCONT
- -k : send a SIGKILL
Usage notes
s6-nuke can be used during the shutdown procedure of a system, which is
described
here.