Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-24-2003, 06:11 PM   #1
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, 06:13 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 68
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, 06:29 PM   #3
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, 10:46 PM   #4
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 10:48 PM.


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

All times are GMT -5. The time now is 01:02 AM.

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