In message <[EMAIL PROTECTED]>, Mike Smith writes:
>> > Comments? Here's some sample output; the leading index numbers are
>>
>> Just 2: why are the irqs displayed in hex?
>
>See the following comment regarding "formatting conventions". There's no
>easy way for the program to know that they're IRQs (and IMO it shouldn't),
>so no way to know that they are conventionally formatted in ascii. Not
>sure what to do in the SMP case either, where the "IRQ" is really just a
>vector handle.
If the largest number in the class is < 100, print decimal, otherwise
hex.
I'm wondering if this should have its own program, rather than squat
in on iostat ?
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message