[Toybox] CPU always maxed in top
Rob Landley
rob at landley.net
Wed Jun 5 01:34:02 PDT 2019
On 6/5/19 2:38 AM, makepost wrote:
> Upgraded to master fee0838 on two systems with 2 and 4 cores, and the
> `top` command is showing 200%cpu and 400%cpu all the time, with nobody
> connected and the system idle. Some commit from last three weeks seems
> to have regressed, please check.
On current git master:
Tasks: 511 total, 1 running, 510 sleeping, 0 stopped, 0 zombie
Mem: 16340584K total, 15478252K used, 862332K free, 439836K buffers
Swap: 16679932K total, 1146664K used, 15533268K free, 2688024K cached
400%cpu 22%user 0%nice 9%sys 370%idle 0%iow 0%irq 0%sirq 0%host
PID USER PR NI VIRT RES SHR S[%CPU] %MEM TIME+ ARGS
The 400% cpu means it's a 4x SMP system, that's the total available CPU.
370% idle means 30% of one CPU is used (22% user and 9% sys, mostly chromium
background noise), and the remaining 3 and 3/4 processor time is idle.
I'm happy to change that, but I'm not sure how to make it clearer while still
presenting the information? (I am thinking of doing an htop style display with
bar graphs though. But first I want to get the existing CPU usage down, top is
too expensive to run on low-end systems...)
Rob
More information about the Toybox
mailing list