Re: [opensuse] Help Killling Process
- From: Jay C Vollmer <jvollmer@xxxxxxxx>
- Date: Tue, 20 Mar 2007 12:28:44 -0500
On Tuesday 20 March 2007 11:58, Donald D Henson wrote:
I seem to have gotten myself into a situation where a Firefox process
will not die nor will it display anything. (The problem seems to have
something to do with You Tube.) When I try to start up another instance
of Firefox, I get an error message that tells me to either close the
current process or to reboot the system. Rebooting is not a good
solution. I remember from the 'old days' that there is a cli command to
identify a process id and another one to kill a process. I've searched
my memory and the User Manual but cannot identify those two commands.
Any assistance will be sincerely appreciated.
Hi Donald.
To identify a process and extract its Process ID (PID,) use the 'ps'
command:
ps -eaf|grep <enter name of process here>
This will list any currently running processes with the name specified
The brackets are there to for context. Don't include them in the command.
The output from this command will list the PIDs of the matching processes
and the PIDS of the parents of those processes - like this:
$ ps -eaf|grep xterm
jvollmer 30239 30215 0 12:07 pts/2 00:00:00 xterm
jvollmer 30257 30215 0 12:07 pts/2 00:00:00 grep xterm
(the first number for each process is the PID, the second is the PID of the
parent)
Locate the PID for the process you wish to terminate and use the 'kill'
command:
kill -9 <PID>
Again, the brackets are there for context. Don't include them in your
command.
To kill the xterm process in the above example, use the command:
kill -9 30239
This command sends a specified signal number to the process identified by
PID. The signal is a number between 1 and 64. Number 9 means kill the
process Identified by <PID>. For a complete list of available signals,
type:
kill -l
For more information, see the man pages for 'ps' and 'kill.'
--
JAY VOLLMER JVOLLMER@xxxxxxxx
TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK
VERGING CRIMETHINK - IGNORE FULLWISE
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] Help Killling Process
- From: Randall R Schulz
- Re: [opensuse] Help Killling Process
- References:
- [opensuse] Help Killling Process
- From: Donald D Henson
- [opensuse] Help Killling Process
- Prev by Date: Re: [opensuse] DST problem in Evolution?
- Next by Date: Re: [opensuse] Compiling kernel.
- Previous by thread: Re: [opensuse] Help Killling Process
- Next by thread: Re: [opensuse] Help Killling Process
- Index(es):
Relevant Pages
|