[SLE] Finding the Errant Process
Hi all, I've got a 6.2 box that has a process that occasionally starts using up 100% of the CPU. Killing X and even going into single-user mode doesn't fix the problem-- the only thing that works is a reboot. At the risk of sounding totally clueless, how do I identify the process? The machine is running 2.2.15, but 2.2.14 did the same thing. Any advice appreciated, Dennis "Custard pies are a sort of esperanto: a universal language." --Noel Godin -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
"Dennis" == Dennis Soper
writes:
> Hi all, I've got a 6.2 box that has a process that occasionally > starts using up 100% of the CPU. Killing X and even going into > single-user mode doesn't fix the problem-- the only thing that > works is a reboot. > At the risk of sounding totally clueless, how do I identify the > process? The machine is running 2.2.15, but 2.2.14 did the same > thing. First identify the process using top and then kill the process. Charles -- ===================================================== One Net to rule them all, One Net to find them, One Net to bring them all, and with Linux bind them. ===================================================== -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
* Charles Philip Chan
"Dennis" == Dennis Soper
writes: > At the risk of sounding totally clueless, how do I identify the > process? The machine is running 2.2.15, but 2.2.14 did the same > thing. First identify the process using top and then kill the process.
You can kill the process in top by typing 'k', and answering a few questions. David. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, SuSE Mania. I'm back, Now with many things I have learned Oh May Ask something !! A lot of Question .. 1. How to Kill Application without know the PID, but know the name..!! 2. I want to have two kernel ..Can I have it !! kernel 2.2.10 and kernel 2.2.12, Is there any problem when have two different kernel ? 3. esd, enlightened sound daemon . Why some program isn't compatible with it. Like FreeAmp, mp3blaster and etc. 4. esd, Why It Conflik with other ..like KDE, . 5. Anybody know The Best MP3 Player (no XMMS), and VCD Player ..(no MTV) -- Best regards, Syeh mailto:A3@Telkom.net -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Sat, 20 May 2000, Syeh Abidin wrote:
1. How to Kill Application without know the PID, but know the name..!!
ps aux will show all the process running. Pipe it to grep like ps aux|grep processname and it will find any process matching the search string.
2. I want to have two kernel ..Can I have it !! kernel 2.2.10 and kernel 2.2.12,
Sure. Just set it up with lilo. I'm not sure why you want those older kernels but it will work fine.
Is there any problem when have two different kernel ?
No . Actually it's better IMHO. I won't install a new kernel without the old one. This way if a problem occurs with the new one I can still boot the old one just fine. Nick -- Nick Zentena "The Linux issue," Wladawsky-Berger explained, "is whether this is a fundamentally disruptive technology, like the microprocessor and the Internet? We're betting that it is." -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Syeh Abidin wrote:
Hi, SuSE Mania. I'm back, Now with many things I have learned
Oh May Ask something !! A lot of Question ..
1. How to Kill Application without know the PID, but know the name..!!
killall -9 processname you can replace -9 with the other signals (nam kill) as well. The use of killall might be a bit dangerous if you have multiple users working, since you can kill i.e. all actice shells at once, logging everyone out. Juergen -- =========================================== __ _ Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
1. Try killall, like "killall netscape" 2. No problem at all. Hand-edit /etc/lilo.conf or let YaST (thats good old YaST1) do the job for you.
>>>>>>>>>>>> Ursprungligt meddelande <<<<<<<<<<<<<<<<<<
Syeh Abidin
Hi, SuSE Mania. I'm back, Now with many things I have learned
Oh May Ask something !! A lot of Question ..
1. How to Kill Application without know the PID, but know the name..!! 2. I want to have two kernel ..Can I have it !! kernel 2.2.10 and kernel 2.2.12,
Is there any problem when have two different kernel ? 3. esd, enlightened sound daemon . Why some program isn't compatible with it. Like FreeAmp, mp3blaster and etc. 4. esd, Why It Conflik with other ..like KDE, . 5. Anybody know The Best MP3 Player (no XMMS), and VCD Player ..(no MTV)
-- Best regards, Syeh mailto:A3@Telkom.net
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello Anders,
Sunday, May 21, 2000, 2:44:03 AM, you wrote:
AD> 1. Try killall, like "killall netscape"
Thank's ..
This command per User isn't ? So User (no root) just can killall
it just on his User.
AD> 2. No problem at all. Hand-edit /etc/lilo.conf or let YaST (thats good
AD> old YaST1)
The main Problem is Modules ..all modules in
/lib/
-- Best regards, Syeh mailto:A3@Telkom.net -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Sat, May 20, 2000 at 04:42:01PM +0700, Syeh Abidin wrote:
Oh May Ask something !! A lot of Question ..
1. How to Kill Application without know the PID, but know the name..!!
For starters, try `killall appname', which may or may not work. `ps aux | grep appname' will show you the owner, PID, and other useful information. Then you can kill it.
2. I want to have two kernel ..Can I have it !! kernel 2.2.10 and kernel 2.2.12,
Though I can't imagine why, yes. Why can't you build the kernel modules for 2.2.12 instead?
Is there any problem when have two different kernel ? 3. esd, enlightened sound daemon . Why some program isn't compatible with it. Like FreeAmp, mp3blaster and etc.
Because the programmer doesn't like esd. It's not very stable.
4. esd, Why It Conflik with other ..like KDE, .
Because only one process can `own' the sound output device at a time. Esound fights with KSoundServ, and the one that locked the output device first wins.
5. Anybody know The Best MP3 Player (no XMMS), and VCD Player ..(no MTV)
Hah! Well, XMMS is arguably the best MP3 Player, as MTV is arguably the best VCD player. Go to http://freshmeat.net/ and find a better one for your needs... -- -=|JP|=- "Why, oh, why didn't I take the blue pill?" Jon Pennington | Atipa Linux Solutions -o) jpennington@atipa.com | http://www.atipa.com /\\ Kansas City, MO, USA | 816-241-2641 x121 _\_V 6D04 39E0 CAE9 9ADA 2CA3 2EBE 898A 6C37 CA1E A29C -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Fri, May 19, 2000 at 11:58:32PM -0700, Dennis Soper wrote:
Hi all,
I've got a 6.2 box that has a process that occasionally starts using up 100% of the CPU. Killing X and even going into single-user mode doesn't fix the problem-- the only thing that works is a reboot.
At the risk of sounding totally clueless, how do I identify the process? The machine is running 2.2.15, but 2.2.14 did the same thing.
Any advice appreciated, Dennis "Custard pies are a sort of esperanto: a universal language." --Noel Godin
You can use 'top' on a command line. That will show you a list of processes
sorted by cpu use and on the top of the list, you will see you will see the
name of the process which is consuming the more cpu time. Then you can kill
it by using the command 'kill <pid of process>' or 'kill -s 9 <pid of
process>' if the latter doesn't work.
--
Jean-François Bocquet
Jean-François Bocquet @free.fr wrote:
On Fri, May 19, 2000 at 11:58:32PM -0700, Dennis Soper wrote:
Hi all,
I've got a 6.2 box that has a process that occasionally starts using up 100% of the CPU. Killing X and even going into single-user mode doesn't fix the problem-- the only thing that works is a reboot.
At the risk of sounding totally clueless, how do I identify the process? The machine is running 2.2.15, but 2.2.14 did the same thing.
Any advice appreciated, Dennis "Custard pies are a sort of esperanto: a universal language." --Noel Godin
You can use 'top' on a command line. That will show you a list of processes sorted by cpu use and on the top of the list, you will see you will see the name of the process which is consuming the more cpu time. Then you can kill it by using the command 'kill <pid of process>' or 'kill -s 9 <pid of process>' if the latter doesn't work.
top's programmers were supporting lazy U*ix admins. Press "K" from within top, you're requested the PID and that's it. Juergen -- =========================================== __ _ Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I use top sometimes in an X terminal window, since if there are lots of processes running, they all don't fit on the regular terminal window. Is there any way to show all of them on the same screen in commnand line mode? Rob. Jean-François Bocquet @free.fr wrote:
On Fri, May 19, 2000 at 11:58:32PM -0700, Dennis Soper wrote:
Hi all,
I've got a 6.2 box that has a process that occasionally starts using up 100% of the CPU. Killing X and even going into single-user mode doesn't fix the problem-- the only thing that works is a reboot.
At the risk of sounding totally clueless, how do I identify the process? The machine is running 2.2.15, but 2.2.14 did the same thing.
Any advice appreciated, Dennis "Custard pies are a sort of esperanto: a universal language." --Noel Godin
You can use 'top' on a command line. That will show you a list of processes sorted by cpu use and on the top of the list, you will see you will see the name of the process which is consuming the more cpu time. Then you can kill it by using the command 'kill <pid of process>' or 'kill -s 9 <pid of process>' if the latter doesn't work.
-- Jean-François Bocquet
=== Error is not forever, hope for right+ |== ICQ: 69968770 ====================== Darkness is not the opposite of light| |== http://tns01.free.fr =========== -But only absence- day will follow night.| +-- Linux User #177410 ---------------------------------------------*-- Lowell+ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
"europax" == europax
writes:
> I use top sometimes in an X terminal window, since if there are > lots of processes running, they all don't fit on the regular > terminal window. Is there any way to show all of them on the > same screen in commnand line mode? Rob. You may want to use gitps instead. The commandline switches are the same for ps. Charles -- ===================================================== One Net to rule them all, One Net to find them, One Net to bring them all, and with Linux bind them. ===================================================== -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Sat, 20 May 2000, you wrote:
Hi all,
I've got a 6.2 box that has a process that occasionally starts using up 100% of the CPU. Killing X and even going into single-user mode doesn't fix the problem-- the only thing that works is a reboot.
At the risk of sounding totally clueless, how do I identify the process? The machine is running 2.2.15, but 2.2.14 did the same thing.
top should tell you. Type "top" at command line. -- Bob F EMail BobFi@SWBell.net A Truly Wise Man Never Plays Leapfrog With A Unicorn... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Fri, May 19, 2000 at 11:58:32PM -0700, Dennis Soper wrote:
I've got a 6.2 box that has a process that occasionally starts using up 100% of the CPU. Killing X and even going into single-user mode doesn't fix the problem-- the only thing that works is a reboot.
I run gkrellm on my desktop, and I'm able to watch for things like this. It's usually Netscape, but sometimes fetchmail does this, too.
At the risk of sounding totally clueless, how do I identify the process? The machine is running 2.2.15, but 2.2.14 did the same thing.
Use top to identify the offender. Since it's almost always Netscape, I simply open up a terminal and type: # ps aux | grep netscape Which shows me something like: jpenning 3283 95.4 22.8 23112 14472 tty1 S 09:18 0:02 /usr/lib/netscape/472/communicator//communicator-smotif.real http://freshmeat.net/ So I follow it up with: # kill -9 3283 To kill the process. All's well after that :). -- -=|JP|=- "Why, oh, why didn't I take the blue pill?" Jon Pennington | Atipa Linux Solutions -o) jpennington@atipa.com | http://www.atipa.com /\\ Kansas City, MO, USA | 816-241-2641 x121 _\_V 6D04 39E0 CAE9 9ADA 2CA3 2EBE 898A 6C37 CA1E A29C -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (11)
-
A3@Telkom.net
-
BobFi@swbell.net
-
cpchan@myna.com
-
dahlqvist@sundsvall.mail.telia.com
-
dsoper@clipper.net
-
europax@home.com
-
jcm@bigskytel.com
-
jpennington@atipa.com
-
juergen.braukmann@ruhr-west.de
-
tns01@free.fr
-
zentena@hophead.dyndns.org