Subject: Re: bin/20316: systat interrupt counters
To: Johnny Billquist <bqt@update.uu.se>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 02/12/2003 23:31:32
> Given this, the group name ought to be the most "interesting" name to
> display. Take as much of the rest as possible, truncating at the right
> end.

Except that, with sensible event names, the group name can be inferred.

> I'm running on a VAX. What do you mean "wider window"? My VT320 is as wide
> as it is.

132 column mode :-)

> On my VAX, it currently looks like this, anyway:
> interrupt                                        total     rate
>                                                      0        0
> crl	intr                                         0        0
> uba	stray intr                                   0        0
> uba0	intr                                       164        0
> mtc0	intr                                         6        0
> uda0	intr                                    315053        3
> de0	intr                                    513282        5
> dmf0	srintr                                       0        0
> dmf0	stintr                                       0        0
> dmf0	piva                                         0        0
> dmf0	pivb                                         0        0
> dmf0	arintr                                   15723        0
> dmf0	axintr                                   19283        0
> dmf0	lpintr                                       0        0
> uba1	intr                                         0        0
> mtc1	intr                                         6        0
> uda1	intr                                    536097        5
> soft	serial                                       0        0
> soft	net                                     178646        1
> soft	clock                                   161566        1
> clock	intr                                  10252164      100

Given there are only 8 screen postions (to col 80) available (unless
you want to rework the entire screen) neither the group name nor
event name would do justice to the above list.

A cunning plan (equal to Baldrick's best) is to display the group name
when the event name is "intr".

	David

-- 
David Laight: david@l8s.co.uk