LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   kill a process for sure (https://www.linuxquestions.org/questions/linux-general-1/kill-a-process-for-sure-189981/)

spuzzzzzzz 06-05-2004 08:03 AM

kill a process for sure
 
Is there a better way to kill a process than "kill -9"? Sometimes I have a problem with my nfs server and all the nfs-related processes on the client hang. They don't respond to kill -9. They also mess up any future nfs-related activity. And I can't reboot cleanly because the "Sending all processes the KILL signal" line just sits there...

kvedaa 06-05-2004 04:59 PM

In those situations where you find that you are unable to kill a process, it is often in your best interest to take a closer look at what other process a process is tied to, on way of doing this is by:

ps aexf

You might have success, by attacking the associated (parent and child) process, which might be preventing the process form passing on.


All times are GMT -5. The time now is 12:44 PM.