LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 06: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, 06:13 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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
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, 10: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 10:48 PM.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:18 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