From owner-freebsd-hackers Sat Nov 4 4:35:43 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from spammie.svbug.com (mg136-042.ricochet.net [204.179.136.42]) by hub.freebsd.org (Postfix) with ESMTP id 841FB37B4C5 for ; Sat, 4 Nov 2000 04:35:32 -0800 (PST) Received: from spammie.svbug.com (localhost.mozie.org [127.0.0.1]) by spammie.svbug.com (8.9.3/8.9.3) with ESMTP id EAA04418; Sat, 4 Nov 2000 04:35:50 -0800 (PST) (envelope-from jessem@spammie.svbug.com) Message-Id: <200011041235.EAA04418@spammie.svbug.com> Date: Sat, 4 Nov 2000 04:35:47 -0800 (PST) From: opentrax@email.com Reply-To: opentrax@email.com Subject: Re: irq status To: a.anderson@utoronto.ca Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <20001103214913.A201@dusty.galima.2y.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 3 Nov, Alexander Anderson wrote: > In mailing.freebsd.hackers, you wrote: > >> > Is their a tool out their or does anyone have a quick bit of code / >> > hack that will "probe" all of the irqs on my box and tell me which >> > ones are used / available?? >> >> No. You can glean some of this information from various >> metaconfiguration interface, but the question you're asking suggests >> that you're trying to do something wrong anyway. >> >> Why don't you tell us a bit more about what you want this information >> for? > > I got curious too and decided to join. If you have dealt with Linux, it > has 'interrupts' file in /proc filesystem. It tells you what IRQs are > currently in use and what's using them. Is there something similar on > FreeBSD? > In addition to the 'vmstat -i', you can use dmesg and filter irqs with grep. This might work better for you since it also lists the IO ports used with each IRQ. You do that like this: dmesg | grep irq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message