LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 05-24-2003, 07:11 PM   #1
adriaanbw
Member
 
Registered: May 2003
Location: Brisbane, Australia
Distribution: Fedora Core 4 with XFCE
Posts: 128

Rep: Reputation: 16
killing processes


using redhat 8 - can someone tell me how i can (a) find out what processes are running, and then (b) how to kill that process using the 'kill' command and the information i get using info from (a).

as you may have guessed, i want to do this from a console.

also, i *think* mandrake has a kill app on the desktop that allows you to kill windowed applications. is there anything like this in redhat.
 
Old 05-24-2003, 07:13 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
To see a list of running proccess:
ps -ef

you may want to pipe the output into a grep if you are looing for something in particular:
ps -ef | grep PROGNAME

You can kill using:
kill PID

Where PID is the PID for the proccess given by ps -ef.

You can get a gui proccess manager using "Ctrl + Esc"
 
Old 05-24-2003, 07:29 PM   #3
TlitJ
Member
 
Registered: Mar 2002
Location: Montana
Distribution: Mandrake 9.1
Posts: 40

Rep: Reputation: 15
Also, an alternative is to run as root* in a console and then run "top" and then sorting by processor usage (P) or memory (M). This can be a good way to find troublesome processes that are locked up, etc.

*need to be root to kill root processes
 
Old 05-24-2003, 11:46 PM   #4
kazuni
Member
 
Registered: May 2003
Location: Hong Kong
Distribution: Android on HTC Hero
Posts: 256

Rep: Reputation: 30
sorry wasn't reading. someone already suggested this :P

Last edited by kazuni; 05-24-2003 at 11:48 PM.
 
  


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
Killing running processes hitest Suse/Novell 4 09-03-2005 03:22 PM
Killing processes hongman Linux - Newbie 3 02-28-2005 06:27 PM
killing a lot of processes at once psychobyte Linux - General 1 09-26-2003 04:22 PM
killing all of a user's processes thebeaglebeagle Linux - Software 1 09-04-2003 12:33 PM
Vm: Killing Processes tbhebe Linux - General 3 03-07-2002 10:51 AM


All times are GMT -5. The time now is 03:09 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration