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. |
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" |
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 |
sorry wasn't reading. someone already suggested this :P
|
All times are GMT -5. The time now is 05:55 PM. |