Re: [PLUG] Top is lying

2010-02-12 Thread Keith Lofstrom
On Fri, Feb 12, 2010 at 09:52:37AM -0800, John Jason Jordan wrote: > The only question is, how did top get started by root in the first > place? The following is not likely, but worth doing every so often. Don't panic, but ... Perhaps you should try checking for a rootkit. There might be a root

Re: [PLUG] Top is lying

2010-02-12 Thread Rich Shepard
On Fri, 12 Feb 2010, Joe Pruett wrote: > kill -1 xxx turning into kill 1 xxx used to be a very bad thing > (shutdown). i haven't done that in a long time, so i'm not sure if modern > init's respond the same way or not. Test and report results? :-) I usually start with killall , proceed to

Re: [PLUG] Top is lying

2010-02-12 Thread Joe Pruett
On Fri, Feb 12, 2010 at 9:21 AM, chris (fool) mccraw wrote: be warned, killall on some unices (ok, i know that aix 3, but i have vague recollections about older solarises) does not do the same thing and will in fact kill all processes running under the userid that runs killall.  doing a 'sudo k

Re: [PLUG] Top is lying

2010-02-12 Thread chris (fool) mccraw
On Fri, Feb 12, 2010 at 10:01, Rogan Creswick wrote: > On Fri, Feb 12, 2010 at 9:21 AM, chris (fool) mccraw wrote: >> >> be warned, killall on some unices (ok, i know that aix 3, but i have >> vague recollections about older solarises) does not do the same thing >> and will in fact kill all proce

Re: [PLUG] Top is lying

2010-02-12 Thread Rogan Creswick
On Fri, Feb 12, 2010 at 9:21 AM, chris (fool) mccraw wrote: > > be warned, killall on some unices (ok, i know that aix 3, but i have > vague recollections about older solarises) does not do the same thing > and will in fact kill all processes running under the userid that runs > killall.  doing a

Re: [PLUG] Top is lying

2010-02-12 Thread John Jason Jordan
On Fri, 12 Feb 2010 07:50:47 -0800 wes dijo: >> >> Evidently mpstat, iostat, and sar are not installed and not in the >> Fedora 11 repos. I didn't look around to see if I could find an RPM >> for them somewhere. >> >> >These are commonly found in the "sysstat" package. Ah, that did it. But the

Re: [PLUG] Top is lying

2010-02-12 Thread Dale Snell
On Thu, 11 Feb 2010 20:42:30, John Jason Jordan wrote: > On Thu, 11 Feb 2010 21:28:20 -0700 (MST) > Carlos Konstanski dijo: > > >On Thu, 11 Feb 2010, John Jason Jordan wrote: > > > >> Something is eating 100% of one of my CPUs on my Fedora 11 x86_64 > >> Thinkpad. Occasionally it drops down, a

Re: [PLUG] Top is lying

2010-02-12 Thread chris (fool) mccraw
On Fri, Feb 12, 2010 at 09:09, Rogan Creswick wrote: > or, if you want to skipp the grepping, just kill all instances of top: > > $ killall 21082 oops, i thnk you meant 'killall top' and if it doesn't die gracefully, killall works with flags too: killall -9 top be warned, killall on some unic

Re: [PLUG] Top is lying

2010-02-12 Thread Rogan Creswick
On Thu, Feb 11, 2010 at 8:32 PM, John Jason Jordan wrote: > > [...@devil8 ~]$ ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10 > %CPU   PID USER     COMMAND > 99.0 25327 root     top > > > So I killed top, then re-ran the command. It still listed top as 99%. > WTH? > There may well be another

Re: [PLUG] Top is lying

2010-02-12 Thread wes
> > Evidently mpstat, iostat, and sar are not installed and not in the > Fedora 11 repos. I didn't look around to see if I could find an RPM for > them somewhere. > > These are commonly found in the "sysstat" package. -wes ___ PLUG mailing list PLUG@list

Re: [PLUG] Top is lying

2010-02-11 Thread Carlos Konstanski
On Thu, 11 Feb 2010, John Jason Jordan wrote: > Date: Thu, 11 Feb 2010 20:42:30 -0800 > From: John Jason Jordan > Reply-To: "General Linux/UNIX discussion and help;civil and on-topic" > > To: plug@lists.pdxlinux.org > Subject: Re: [PLUG] Top is lying >

Re: [PLUG] Top is lying

2010-02-11 Thread John Jason Jordan
ic" >> To: PLUG >> Subject: [PLUG] Top is lying >> >> And so is System Monitor. >> >> Something is eating 100% of one of my CPUs on my Fedora 11 x86_64 >> Thinkpad. Occasionally it drops down, at which point the other CPU >> surges to 100%. (I t

Re: [PLUG] Top is lying

2010-02-11 Thread John Jason Jordan
On Thu, 11 Feb 2010 19:49:15 -0800 drew wymore dijo: >> Are there other tools to sleuth this down? Commands I could use? >ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10 > >That'll show you the top 10 processes and who owns them. [...@devil8 ~]$ ps -eo pcpu,pid,user,args | sort -k 1 -r | he

Re: [PLUG] Top is lying

2010-02-11 Thread Carlos Konstanski
On Thu, 11 Feb 2010, John Jason Jordan wrote: > Date: Thu, 11 Feb 2010 19:19:36 -0800 > From: John Jason Jordan > Reply-To: "General Linux/UNIX discussion and help;civil and on-topic" > > To: PLUG > Subject: [PLUG] Top is lying > > And so is System Mo

Re: [PLUG] Top is lying

2010-02-11 Thread John Jason Jordan
On Thu, 11 Feb 2010 19:42:59 -0800 "William A Morita" dijo: >Slow down. >Where are you getting that 100% CPU number from?? >If that were true, you probably could not run top. I have two CPUs. The 100% is just for one of them. I still have another CPU that will run other stuff. And I get it from

Re: [PLUG] Top is lying

2010-02-11 Thread drew wymore
On Thu, Feb 11, 2010 at 7:19 PM, John Jason Jordan wrote: > And so is System Monitor. > > Something is eating 100% of one of my CPUs on my Fedora 11 x86_64 > Thinkpad. Occasionally it drops down, at which point the other CPU > surges to 100%. (I think they switch back and forth, probably so one of

Re: [PLUG] Top is lying

2010-02-11 Thread William A Morita
Sent: Thursday, February 11, 2010 7:20 PM To: PLUG Subject: [PLUG] Top is lying And so is System Monitor. Something is eating 100% of one of my CPUs on my Fedora 11 x86_64 Thinkpad. Occasionally it drops down, at which point the other CPU surges to 100%. (I think they switch back and forth, probably

[PLUG] Top is lying

2010-02-11 Thread John Jason Jordan
And so is System Monitor. Something is eating 100% of one of my CPUs on my Fedora 11 x86_64 Thinkpad. Occasionally it drops down, at which point the other CPU surges to 100%. (I think they switch back and forth, probably so one of them doesn't get too tired and go on strike.) System Monitor shows