From owner-freebsd-hackers Sat Nov 4 11:20:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id B754337B479; Sat, 4 Nov 2000 11:20:50 -0800 (PST) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.9.3) with ESMTP id eA4JKnD03250; Sat, 4 Nov 2000 20:20:49 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Mike Smith Cc: Wilko Bulte , hackers@FreeBSD.ORG Subject: Re: user-space resource information... In-Reply-To: Your message of "Sat, 04 Nov 2000 11:16:54 PST." <200011041916.eA4JGsF11659@mass.osd.bsdi.com> Date: Sat, 04 Nov 2000 20:20:49 +0100 Message-ID: <3248.973365649@critter> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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