On Tue, 12 Feb 2008, ronan wrote:
> Eben King wrote:
>> Something's using up CPU time on my machine, but nothing shows in top nor
>> gkrellm's strip charts, nor does any unusual network use show up in
>> gkrellm. But bash and trn take seconds to start and exit, and the CPU speed
>> is a constant 2.4G (normally it falls back when nothing's happening). How
>> can I find out what it is? I can get network bandwidth from the
>> internet-facing router for everyone combined (which is mostly me), for
>> periods from 1m - 5h.
>>
> "vmstat 1" will give you details about i/o (not just network i/o), swapping,
> etc. It will also give you the CPU usage, similar to "top", but I have often
> seen it give good information where "top" is obviously incorrect.
>
> The "1" parameter is to update every one seconds. You can use whatever value
> you like, but just like "top", the first value can't be trusted (usually
> pretty whacky) since it will be an incomplete period.
OK, I have it on 5 (that's about as fast as I can read anyhow), and it says:
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
2 0 1248 82236 50388 1110464 0 0 0 50 1352 1029 5 2 93 0
So, swap barely touched, 50 blocks per second (per 5 seconds?) out (I'm
running a few torrents, but the total is 30-50 K/s _in_), system 93%
idle. Otherwise seems OK. Why is it so slow then?
-- -eben QebWenE01R@vTerYizUonI.nOetP royalty.mine.nu:81Q: What kind of modem did Jimi Hendrix use? A: A purple Hayes. ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:00:12 EDT