Tagged Questions
3
votes
1answer
144 views
What is the difference between exiting a process via Ctrl+C vs issuing a kill -9 command?
I know I can kill any process with kill -9 command . But sometimes i see that even if I have terminated a program with CTRL+C , the process doesn't get killed . So I want to know the difference ...
5
votes
2answers
396 views
kill -9 hangs, unable to kill process (murder proof process) [duplicate]
Possible Duplicate:
What if ‘kill -9’ does not work?
I guess its a bit late to ask this, but for future reference;
I was called to look at a server today after a customer was reporting ...
2
votes
0answers
397 views
`[java] <defunct>` with defunct children -> Any way to collect them?
Relating to question : What if 'kill -9' doesn't work?
I have following situation : zombie process with threads, not collected by init :
[root@Arch64]# ps auxH | grep java
gwpl 569 ...
1
vote
1answer
270 views
Cross-platform (Linux, BSD, Solaris) way to check if pid exists
I am looking for a reliable cross-platform way to check if a process with a specific pid is running. Two possible solutions came up:
kill -0 $PID — exit status is 0 if it the process exists and 1 ...
2
votes
1answer
270 views
Does a process invoking oom-killer kill itself?
Looking through syslog, I see lines like dd invoked oom-killer.
Does this mean dd is being killed by the oom-killer or does it mean dd asked oom-killer to go kill another high memory process?
10
votes
3answers
8k views
How can I kill a <defunct> process whose parent is init?
Transmission is intermittently hanging on my NAS. If I send SIGTERM, it doesn't disappear from the process list and a <defunct> label appears next to it. If I send a SIGKILL, it still doesn't ...
20
votes
3answers
3k views
why not kill -9 a process?
I am always very hesitant to run kill -9.
But I see other admins do it almost routinely.
I figure there is probably a sensible middle ground.
So:
When should kill -9 be used?
What should be tried ...
5
votes
4answers
3k views
'kill java' doesn't kill java
I am running debian right now and sometimes I need to kill java manually from the terminal, but when I try kill #pid# or pkill java nothing happens. No console output (ok, that's normal) and java is ...