Re: Finding what's using the CPU



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?

Top can be told to sort based on any field...
You could try sorting the nice field...

--
| spike1@xxxxxxxxxxxxx | Windows95 (noun): 32 bit extensions and a |
| | graphical shell for a 16 bit patch to an 8 bit |
| Andrew Halliwell BSc | operating system originally coded for a 4 bit |
| in |microprocessor, written by a 2 bit company, that|
| Computer Science | can't stand 1 bit of competition. |
.



Relevant Pages

  • Re: Finding whats using the CPU
    ... which uses a significant amount of CPU and network access. ... work out what it is because it's "niced" and top excludes nice when ... there's something extra "special" about this mystery task. ...
    (uk.comp.os.linux)
  • 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: Finding whats using the CPU
    ... uses a significant amount of CPU and network access. ... by CPU usage, and I can't find a way to make it include nice. ... netstat -op might help. ...
    (uk.comp.os.linux)
  • kernel freezen with 2.6.12.5 and 2.6.13
    ... and no more network access, when trying to print. ... IntelPentium4 CPU 2.80GHz ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Finding whats using the CPU
    ... Tony Houghton wrote: ... which uses a significant amount of CPU and network access. ... work out what it is because it's "niced" and top excludes nice when ... you can use ps to list all jobs and sort by cpu usage. ...
    (uk.comp.os.linux)