Simon Kirby writes:
> On Sat, Dec 15, 2001 at 05:19:42AM -0500, Albert D. Cahalan wrote:
>> [Linus Torvalds]
>>> I do agree, I've used "kill -9 -1" myself.
>>
>> This means: EVERYTHING DIE DIE DIE!!!!
>>
>> On a Digital UNIX system, I do "/bin/kill -9 -1" often. I expect it to
>> kill the shell. This is a nice way to quickly log out and wipe out any
>> background processes that might try to save state or continue running.
>
> Exactly.
>
> And then init spawns your getty again, and you log in again, and you
> continue doing what you were doing.
No, ssh/sshd drops the connection and you step away from the computer.
If the shell doesn't die like it's supposed to, then you have to kill
it separately. The point is to log out, avoiding left-over processes.
Like this: alias x='/bin/kill -9 -1'
> Or you could just let it not kill the process doing the killing, and
> you'd be more productive.
No, less, because you shouldn't walk away with a shell left running.
You need to kill the shell.
> My point is that I can't see a valid case where we _actually want_ -1 to
> send to itself also.
...
> Does anybody have a case where including itself is actually useful?
The above. It's time to eat or go to bed. Die! Die! All processes die!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:10 EST