Re: Finding what's using the CPU
- From: Tony Houghton <h@xxxxxxxxxxx>
- Date: Mon, 30 Jun 2008 19:14:37 +0100
In <gkr*PtKgs@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Peter Benie <peterb@xxxxxxxxxxxxxxxxxxxxxx> wrote:
In article <20080630160239.68e74941@xxxxxxxxx>,
Tony Houghton <h@xxxxxxxxxxx> wrote:
I'm using Ubuntu 8.04 and every so often something starts running
which uses a significant amount of CPU and network access. I can't
work out what it is because it's "niced" and top excludes nice when
sorting apps by CPU usage, and I can't find a way to make it include
nice. Can anyone recommend a similar tool to top which isn't so
helpful to potential malware?
If the process exits after doing whatever it does, it'll show up in
the process accounting logs. I doubt that this is installed and turned
on by default. The package is called 'acct'.
What makes you think that a significant amount of CPU and network are
being used? If you're using the load (as reported by 'uptime') as a
guide, be aware that this isn't actually a measure of CPU usage -
running updatedb over an NFS share would give a high load and network
usage but without using much CPU.
It was actually something I wrote myself, called SysBars, that alerted
me to it. It works much the same way as gkrellm. top reports that about
40% of CPU time is in nice (judging by SysBars' readout I think it might
be 40% of one core only) but in the list of processes there's nothing
listed as using that much, just the usual <1%.
--
TH * http://www.realh.co.uk
.
- References:
- Finding what's using the CPU
- From: Tony Houghton
- Re: Finding what's using the CPU
- From: Peter Benie
- Finding what's using the CPU
- Prev by Date: Re: Moving boot partition from sda4 to sda1
- Next by Date: Re: Moving boot partition from sda4 to sda1
- Previous by thread: Re: Finding what's using the CPU
- Index(es):
Relevant Pages
|