LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-01-2002, 12:22 PM   #1
AMDPwred
Member
 
Registered: Dec 2001
Location: Richmond, VA
Posts: 391

Rep: Reputation: 30
How to kill a certain process?


How can I kill a certain process running on my RH8 box?
 
Old 10-01-2002, 12:41 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
run top as root, enter 'k' and enter the pid that you want to kill
 
Old 10-01-2002, 12:57 PM   #3
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
If the process is yours, you can use either kill (ie kill -signal PID) or pkill (ie pkill -signal pname). Try to send as nice a signal as possible. Some people like to jump right to -9, but this may not be appropriate in all circumstances. If the process is not yours, you will need to get proper access via su or sudo.
 
Old 10-01-2002, 01:40 PM   #4
Coproscefalo
Member
 
Registered: Jun 2001
Location: México (Juárez)
Distribution: SuSE 9.3
Posts: 108

Rep: Reputation: 15
if you are running a process from console or terminal you can obtain the list of PID by typing:

jobs -l

or if you are using kde u can kill an running application by pressing

Ctrl + Alt + Esc

a skull is gonna appear instead of the normal cursor, just click on top of the application you want to kill. A rude way but thats the only way i found to kill apps (im sure there must be a better way, i just dont know how, lol)

Azael
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Process won't kill mrsolo Linux - Software 5 08-03-2007 12:45 PM
I want to kill process Jeon, Chang-Min Linux - General 6 08-09-2005 12:14 AM
cannot kill process (kill -9 does not work) mazer13a Linux - General 1 05-27-2005 02:32 PM
Cannot kill process Zeno McDohl Linux - General 13 04-14-2005 02:31 PM
can't kill the process ust Linux - Software 1 09-15-2004 06:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:24 AM.

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
Open Source Consulting | Domain Registration