RFC: killall5 for SIGSTOP and SIGCONT
Avery Pennarun
apenwarr at gmail.com
Tue Apr 3 02:52:32 UTC 2012
On Mon, Apr 2, 2012 at 10:31 PM, ralda at gmx.de <ralda at gmx.de> wrote:
> There is a nice command to send signals to all processes except the own
> session, init and it even allows to exclude specified processes ... the
> killall5 ... but it fails to work on SIGSTOP :-(
Have you considered just running:
kill -STOP -1
This will stop all the tasks except the shell that runs it (because
the 'kill' command is a shell builtin, and on Linux, kill(-1) doesn't
signal the caller, at least according to its man page).
Have fun,
Avery
More information about the busybox
mailing list