Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Nov 2000 20:20:49 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Mike Smith <msmith@FreeBSD.ORG>
Cc:        Wilko Bulte <wkb@freebie.demon.nl>, hackers@FreeBSD.ORG
Subject:   Re: user-space resource information... 
Message-ID:  <3248.973365649@critter>
In-Reply-To: Your message of "Sat, 04 Nov 2000 11:16:54 PST." <200011041916.eA4JGsF11659@mass.osd.bsdi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200011041916.eA4JGsF11659@mass.osd.bsdi.com>, 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
phk@FreeBSD.ORG         | 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3248.973365649>