How to kill pocess in other console?

Góra strony
Załączniki:
Wiadomość jako email
+ (text/plain)
Delete this message
Reply to this message
Autor: Rusty Carruth
Data:  
Temat: How to kill pocess in other console?
>
>
> -Used "ps -a" on the second console to get a list of the processes on all
> consoles.
> -I got the id for the process I want to kill on tty1.
> -I enter "kill 879" at console 2.
> -A subsequent "ps -a" still shows the 879 process and switching back to
> console 1, it is still hung.


kill -HUP 879

if that fails:

kill -TERM 879

if THAT fails:

kill -9 879

IF THAT fails:

reboot

(only half joking - if a kill -9 does not remove a process then something
VERY strong is holding on to it, like hardware or the kernel or ...)