Nestor wrote:
I am running htdig and at some point I try to kill the process
or control-C and the window does not repond.  I am using
putty to access a rhel v3.0.  I try passing a SIGKILL  or SIGTERM
from putty's window menu but also nto able to stop the process
the only way is to kill the window.

Is there anything I can do to make sure that the process is kill
when I do a 'kill -9 processid'


I don't understand what causes it, but I have seen programs that do not seem to respond to Ctrl-C -- perhaps they are written to explicitly ignore the SIGINT signal.

In any case, I have sometimes also had to resort to xkill, but I always try the following first, although I suspect there's not too much difference in the bottom-line effect (abrupt termination):

1) stop output with Ctrl-S, then sometimes Ctrl-C is responded to
(in this case the program obviously has NOT disabled SIGINT, it's just not seeing it, for reasons I don't understand)

2) sometimes Ctrl-\ (SIGQUIT) works, but not often.

3) suspend the program with Ctrl-Z (SIGSTOP), then kill %+
 (or %1, or, ..)

..jim




--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to