Subject: Re: bin/20316: systat interrupt counters
To: David Laight <>
From: Johnny Billquist <>
List: netbsd-bugs
Date: 02/13/2003 00:38:06
On Wed, 12 Feb 2003, David Laight wrote:

> > 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.

But event names, by the definition in the man page, are more or less
expected to be the same for the same kind of event on different devices.

> > I'm running on a VAX. What do you mean "wider window"? My VT320 is as wide
> > as it is.
> 132 column mode :-)

I forgot to put my smiley in the first time. Glad you took it the right

Oh, and no, I don't really like running them in 132 column mode. The
characters get kindof tiny. :-)

> 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.

No. Giving the whole group name, and as much of the event name as can fit
will do rather nicely. A typical example is my dmf32, which have a number
of different interrupts. axintr is the async xmit interrupt, while arintr
is the async rcv interrupt. Give me just the first two letters, and I know
what it is. And we can actually get the first three letters in on 8
columns. So "dmf0 ari" and "dmf0 axi" tells me all I want to
know. Assuming I have two dmf32s, two "axintr" and "arintr" will not be as
usable. :-)

systat only displays interrupt counters anyhow (atleast I hope systat
skips non-interrupt event counters), so that it's an interrupt is already
a safe bet too.

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

That would be an improvement anyhow, but by looking at the list on a VAX,
it's obvious that it's only half a solution. Truly a cunning plan adopted
by the Black Adder. :-)


Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email:           ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol