Bug 194685 - CPU -1 on top
Summary: CPU -1 on top
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Jung-uk Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-29 15:02 UTC by Danilo Egea Gondolfo
Modified: 2014-10-29 19:59 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danilo Egea Gondolfo freebsd_committer freebsd_triage 2014-10-29 15:02:26 UTC
The top command is showing -1 as CPU number.

  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
99223 danilo       10  52    0   136M 83636K nanslp  3   0:56  27.39% doxygen
 1629 danilo        1  79    0 35456K 12228K CPU-1  -1   0:34  27.25% doxygen
 3079 danilo        1  79    0 35456K 12268K CPU-1  -1   0:27  26.47% doxygen
99390 danilo        1  79    0 35456K 12260K CPU-1  -1   0:38  24.43% doxygen
 1624 danilo        1  78    0 35456K 12120K CPU3    3   0:35  21.49% doxygen
  462 danilo        1  52    0 35456K 12284K zio->i  1   0:37  20.37% doxygen
99353 danilo        1  79    0 35456K 12644K CPU-1  -1   0:38  19.33% doxygen
 1967 danilo        1  78    0 35456K 12228K CPU-1  -1   0:34  18.50% doxygen


I'm running current r273751. This bug is probably related to r273266 (cpuid u_char -> int).
Comment 1 Mark Johnston freebsd_committer freebsd_triage 2014-10-29 19:59:34 UTC
This should be fixed by r273835.