Results 1 to 7 of 7

Thread: What is the most drastic way to kill a program?

  1. #1
    Junior Member
    Join Date
    Jul 2002
    Posts
    54

    What is the most drastic way to kill a program?

    How can I kill a program that has locked up completely and doesnt seem to react to anything?

    I tries these, but didnt work:
    CTRL+C
    kill -KILL <pid>
    kill -TERM <pid>
    kill -HUP <pid>

  2. #2
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Re:What is the most drastic way to kill a program?

    I had this happen to me. The only command that worked was: reboot

  3. #3
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,758

    Re:What is the most drastic way to kill a program?

    I take it you couldnt xkill it? That has worked for me when the cli wouldnt help.

  4. #4

    Re:What is the most drastic way to kill a program?

    kill -9 PID ? also - are the parent processes dead?

  5. #5

    Re:What is the most drastic way to kill a program?

    you mean like mount /mnt/cdrom and not being able to kill it? mount and some other things to stuff in /dev can lock up beyond a ^C or kill -9.

  6. #6
    Junior Member
    Join Date
    Jul 2002
    Posts
    54

    Re:What is the most drastic way to kill a program?

    [quote author=gorn link=board=1;threadid=4840;start=0#48259 date=1031111410]
    you mean like mount /mnt/cdrom and not being able to kill it? mount and some other things to stuff in /dev can lock up beyond a ^C or kill -9.
    [/quote]

    Wow, nice guess

    It actually was modprobe ide-cd that locked up, with absolutely no way to kill it. I still don't see why it locked up. Could read the cdrom or so?
    I think the reason why it couldn't be killed is probably because the modprobe program is somehow connected to the kernel, and obviously, you cant kill the kernel

  7. #7

    Re:What is the most drastic way to kill a program?

    [quote author=Bartman link=board=1;threadid=4840;start=0#48333 date=1031166460]I think the reason why it couldn't be killed is probably because the modprobe program is somehow connected to the kernel, and obviously, you cant kill the kernel [/quote]

    bingo

    Yea, i've never seen modprobe hang... but i can see it more so than mount, and mount i've seen many times.

    Reboot gets rid of it, if it happens everytime, something is screwy with your kernel.

Similar Threads

  1. Different types of kill commands
    By Suhas! in forum Linux - General Topics
    Replies: 2
    Last Post: 09-14-2009, 02:31 PM
  2. Compilation problem with c++ program
    By mountainman in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 04-15-2005, 06:53 AM
  3. Windows Longhorn Release notes
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-28-2005, 06:51 AM
  4. Program Compatibility Wizard in Windows XP
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-04-2005, 06:43 AM
  5. how do I get a program to run from menu?
    By Haggis in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 07-06-2002, 04:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •