Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2013 13:17:41 -0500
From:      Chris Ross <cross+freebsd@distal.com>
To:        freebsd-sparc64@freebsd.org
Subject:   top's CPUn vs C column
Message-ID:  <F4434B21-1E12-4F9F-9A17-450F3192AAD6@distal.com>

next in thread | raw e-mail | index | archive | help

  So, I was looking at a v240 I have running stable/9 (9.1-STABLE), and =
noticed something odd.  The per-CPU information displayed by top seems =
inconsistent.  To simplify things, while I'm running a "make release" in =
/usr/src/release, I just started running the following command over and =
over (by hand):

cross: top | grep " CPU"
cross: top | grep " CPU"
 1044 cross         1  72    0 17128K  4464K CPU1    0   0:01  1.27% zsh
22528 root          1  77    5 11672K  2592K CPU1    1   0:00  0.00% sh
cross: top | grep " CPU"
cross: top | grep " CPU"
22634 cross         1  72    0 12808K  2872K CPU1    1   0:00  0.00% top
22633 root          1  77    5  6272K   880K CPU0    1   0:00  0.00% =
make
cross: top | grep " CPU"
22637 root          1  77    5  6272K  1656K CPU0    0   0:00  0.00% =
make
cross: top | grep " CPU"
cross: top | grep " CPU"
22684 root          1  77    5 11672K  2592K CPU0    0   0:00  0.00% sh
cross:

  This displayed what I had earlier seen in the full-screen top.  There =
doesn't appear to be any specific binding between the "n" in the "CPUn" =
state value, and the number in the "C" column, which is according to the =
man page, should mean the same thing.

  Is this a sparc64 problem, a generic FreeBSD SMP problem, or not a =
problem at all and I'm misunderstanding something?

  Thanks=85

                                                  - Chris




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F4434B21-1E12-4F9F-9A17-450F3192AAD6>