LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-03-2002, 09:53 PM   #1
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Rep: Reputation: 30
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?
 
Old 06-03-2002, 09:57 PM   #2
Sfin
Member
 
Registered: Apr 2002
Location: Michigan
Distribution: Slackware 8.0
Posts: 197

Rep: Reputation: 30
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.
 
Old 06-03-2002, 10:07 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
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.
 
Old 06-03-2002, 10:08 PM   #4
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
Awesome that worked! Thanx

Gonus
 
Old 06-03-2002, 10:45 PM   #5
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
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.
 
Old 06-03-2002, 11:06 PM   #6
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
roger that

thanx
 
Old 06-04-2002, 03:05 AM   #7
sakeeb
Member
 
Registered: Apr 2002
Posts: 270

Rep: Reputation: 31
alt-ctlr-esc and ctlr-esc will work with kde only
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 11:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 11:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 03:49 PM


All times are GMT -5. The time now is 07:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration