LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-24-2004, 03:19 PM   #1
the_rhino
Member
 
Registered: Sep 2004
Distribution: PCLinuxOS
Posts: 59

Rep: Reputation: 15
how to kill a process


how does one find the pid of a running process?
 
Old 10-24-2004, 03:26 PM   #2
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
Code:
ps -aux
gives you all process and their PID number. Just like CTRL+ALT+DEL in Windows.
To kill a process, type
Code:
kill PID_NR
Hope it helped!
Boby
 
Old 10-24-2004, 03:27 PM   #3
twilli227
Member
 
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
Run "top" in a terminal window. The left hand column is the pid.
 
Old 10-24-2004, 04:36 PM   #4
Devils_Guardian
LQ Newbie
 
Registered: Oct 2004
Location: Canada
Distribution: Debian... of course... got a woody too?!
Posts: 10

Rep: Reputation: 0
Won't die? .. MURDER IT!!!

I ran into a situation where the process wouldn't be killed.... sooooo...

The only way to do it at that point is to do a 'kill -9 PID'

That will take care of er!





One newbie to another,

DA
 
Old 10-24-2004, 04:44 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Or just use the widely unknown

skill!

skill -9 bash
or
skill -9 -u goofy


Cheers,
Tink
 
Old 10-24-2004, 10:05 PM   #6
the_rhino
Member
 
Registered: Sep 2004
Distribution: PCLinuxOS
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks for the replies.
 
  


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 Off
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 - Newbie

All times are GMT -5. The time now is 06:09 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
Open Source Consulting | Domain Registration