Hi! > Have you considered just running: > > kill -STOP -1
Oh yes, I did ... ohps ... -> Ctrl-Alt-Del > 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). Think exact about this. kill -1 sends the signal to all processes you have permission. May be bash behaves different, but in Busybox ash it doesn't seem to make much difference between builtin and /bin/kill ... it just stops every process except init ... making the system unusable. killall5 differs as it does not send the signal to it's session (SID). That is all processes of the current session continue to run normal, only other sessions receive the signal. So the invoking script and all commands derived from this script won't be stopped unintentionally. In addition killall5 allows exclusion of specified processes. That allows for much finer control than "KILL -STOP -1". -- Harald _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
