Re: Finding what's using the CPU



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

.



Relevant Pages

  • Re: Help: Need help identifying the cause of this problem....
    ... >cpu usage and 100% network usage. ... >process is actually using 100% CPU. ... If I disconnect the router from the cable modem both ... >(Laptop was not on and not connected to network). ...
    (comp.security.firewalls)
  • Re: 2003 Server slowed to a crawl
    ... click Processes then CPU column to sort by ... Investigate a possible Network problem (is there a broadcast storm ... >> method for telling the computer's processor that it needs attention. ... >> which have signed drivers (such hardware is sold with a Microsoft Windows ...
    (microsoft.public.windows.server.general)
  • FC6 System Monitor Applet problem (or is it just me)
    ... CPU usage, or network usage, etc. ... The popup value ...
    (Fedora)
  • Re: Game Company- Java Server Thread Priority
    ... > Program takes 0% of the CPU load, and when processing a turn goes up to ... An example of network waits. ... expected it to go *up* (since the server box wasn't running the client too). ... involved a network access which slowed it down massively. ...
    (comp.lang.java.programmer)
  • Re: network bitrate of a poll of processes
    ... I would like to know the bitrate of a pool of child processes that use ... a network connection, how can I have something like netstat -w1 ... CPU load b) IO on drivec) network load ... PID %MEM %CPU PPID TT STAT TIME COMMAND ...
    (freebsd-hackers)