LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to endtask in linux (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-endtask-in-linux-22506/)

gonus 06-03-2002 08:53 PM

how to endtask in linux
 
In windows you can endtask hung programs in linux what do u use? how do u identify the program u want to kill?

Sfin 06-03-2002 08:57 PM

well you could either do:

Ctrl + Alt + Esc ---> and that will make your mouse pointer look like a Scull, and anything you click on will be killed.

OR

Ctrl + Esc ---> This will bring up the process table, and here you can choose the process that you want to kill.

OR

You can use the kill command in console. Do a:

man kill

to get more info about it.

trickykid 06-03-2002 09:07 PM

top or ps -aux will show your processes.

kill -9 pid this will kill a process with no questions asked. pid is the process id for anyone who doesn't know which you can get from the ps -aux or top.

And of course you can always view the man page for kill for more options.

gonus 06-03-2002 09:08 PM

Awesome that worked! Thanx

Gonus

jpweston 06-03-2002 09:45 PM

You'll get this from the man pages, but....

If you're in a more gentle mood, you can use kill -15 pid or kill -11 pid

Those will allow the process a certain degree of "finish up" time before killing them off. If you're sure the process is hung and can safely be annihilated, go for the -9.

j.

gonus 06-03-2002 10:06 PM

roger that

thanx

sakeeb 06-04-2002 02:05 AM

alt-ctlr-esc and ctlr-esc will work with kde only


All times are GMT -5. The time now is 12:14 AM.