Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 2000 04:35:47 -0800 (PST)
From:      opentrax@email.com
To:        a.anderson@utoronto.ca
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: irq status
Message-ID:  <200011041235.EAA04418@spammie.svbug.com>
In-Reply-To: <20001103214913.A201@dusty.galima.2y.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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




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