[dtrace-discuss] intrstat reports wrong numbers

Robert Milkowski
Tue, 19 Dec 2006 09:43:00 -0000

Hi.

  I guess this list is proper for intrstat.
S10U3 x86.

bash-3.00# intrstat 1

      device |      cpu0 %tim      cpu1 %tim      cpu2 %tim      cpu3 %tim
-------------+------------------------------------------------------------
       bnx#0 |      3464  0.0         0  0.0         0  0.0         0  0.0
       bnx#1 |  18562894  4.6         0  0.0         0  0.0         0  0.0
      ehci#0 |         0  0.0         0  0.0         0  0.0         3  0.0
      ohci#1 |         0  0.0         0  0.0         0  0.0         3  0.0
      ohci#0 |         0  0.0         0  0.0         0  0.0     20154  0.0

      device |      cpu0 %tim      cpu1 %tim      cpu2 %tim      cpu3 %tim
-------------+------------------------------------------------------------
       bnx#0 |      4066  0.0         0  0.0         0  0.0         0  0.0
       bnx#1 |  24344860  5.2         0  0.0         0  0.0         0  0.0
      ehci#0 |         0  0.0         0  0.0         0  0.0         1  0.0
      ohci#1 |         0  0.0         0  0.0         0  0.0         1  0.0
      ohci#0 |         0  0.0         0  0.0         0  0.0     11082  0.0

      device |      cpu0 %tim      cpu1 %tim      cpu2 %tim      cpu3 %tim
-------------+------------------------------------------------------------
       bnx#0 |      3510  0.0         0  0.0         0  0.0         0  0.0
       bnx#1 |  22418620  4.5         0  0.0         0  0.0         0  0.0
      ehci#0 |         0  0.0         0  0.0         0  0.0         1  0.0
       mpt#0 |         0  0.0         0  0.0        56  0.1         0  0.0
      ohci#0 |         0  0.0         0  0.0         0  0.0         1  0.0
      ohci#1 |         0  0.0         0  0.0         0  0.0      9603  0.0

      device |      cpu0 %tim      cpu1 %tim      cpu2 %tim      cpu3 %tim
-------------+------------------------------------------------------------
       bnx#0 |      3617  0.0         0  0.0         0  0.0         0  0.0
       bnx#1 |  31521936  4.7         0  0.0         0  0.0         0  0.0
      ehci#0 |         0  0.0         0  0.0         0  0.0         2  0.0
       mpt#0 |         0  0.0         0  0.0       185  0.2         0  0.0
      ohci#0 |         0  0.0         0  0.0         0  0.0         2  0.0
      ohci#1 |         0  0.0         0  0.0         0  0.0     10823  0.0
^C
bash-3.00#

bash-3.00# mpstat 1
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  0   11   1   50  2888 2374  595   25   93   36    0  1117    9   4   0  87
  1   11   0   63   453   32  763   27  110   17    0  2190    8   2   0  90
  2    7   1   52   395   31  689   27  102   19    0  1004    7   1   0  92
  3    6   0   44   326    1  546   20   81   15    0  1409    7   2   0  92
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  0    0   0    9  5366 4728  961   74  189   57    0  2710   26   8   0  66
  1    0   0   78   678    0 1343   80  223   18    0  4084   24   4   0  72
  2    0   0    6   562    0 1058   84  180   18    0  2241   20   2   0  78
  3   10   0   15   518    1  992   59  149   12    0  2936   19   3   0  78
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  0    0   0   30  6845 5882 1453   91  222  100    0  4838   23  12   0  65
  1    0   0  214  1133    2 2244   84  239   41    0  5240   21   5   0  74
  2    0   0   30   756    2 1384   86  190  106    0  3338   22   4   0  74
  3    0   0    9   719    1 1245   63  160   68    0  4519   26   5   0  69
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  0    0   0   29  5813 4907 1327  122  312  126    0  3165   35   9   0  56
  1    0   0  312  1055  176 1754  124  311   76    0  4563   25   6   0  69
  2    0   0    6   899  176 1337  128  290   80    0  2813   31   4   0  65
  3    0   0   27   773    1 1374  111  264   68    0  3704   23   4   0  73
^C
bash-3.00#


Looks like intrstat reports wrong numbers.
It''s not the first time I saw it.


This message posted from opensolaris.org