pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/47422: htop doesn't show cpu usage for processes
>Number: 47422
>Category: pkg
>Synopsis: htop doesn't show cpu usage for processes
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 08 20:35:00 +0000 2013
>Originator: Bartek Krawczyk
>Release: 6.0.1
>Organization:
>Environment:
NetBSD test.tveurosat.net 6.0.1 NetBSD 6.0.1 (XEN3_DOMU) amd64
>Description:
Hi, htop from pkgsrc 2012Q4 doesn't report cpu usage for processes. Everything
is 0.0. On the top pane I can see cpu usage of about 30% but none of the
processes seems (according to htop) to cause that. "top" behaves correctly and
shows that httpd is using 30% of cpu.
load averages: 0.25, 0.39, 0.62; up 0+23:02:07 21:30:12
45 processes: 43 sleeping, 2 on CPU
CPU0 states: 1.9% user, 0.0% nice, 0.0% system, 0.0% interrupt, 98.1% idle
CPU1 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU2 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU3 states: 3.1% user, 0.0% nice, 0.6% system, 0.0% interrupt, 96.3% idle
Memory: 1140M Act, 566M Inact, 6076K Wired, 37M Exec, 1368M File, 24M Free
Swap: 2048M Total, 2048M Free
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
16249 www 85 0 219M 40M select/2 7:24 11.57% 11.57% httpd
^^ as you can se top shows CPU/WCPU for httpd
and at the same time htop shows CPU% as 0.0. MEM% is also 0.0 in htop. And it
is the same for every running process.
>How-To-Repeat:
build htop from pkgsrc 2012Q4 and run it.
>Fix:
not known
Home |
Main Index |
Thread Index |
Old Index