Bug 194685

Summary: CPU -1 on top
Product: Base System Reporter: Danilo Egea Gondolfo <danilo>
Component: binAssignee: Jung-uk Kim <jkim>
Status: Closed FIXED    
Severity: Affects Only Me CC: adrian, markj
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

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.