Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Sep 2000 10:09:44 -0500 (CDT)
From:      Mike Meyer <mwm@mired.org>
To:        Sean-Paul Rees <sean@seanrees.com>
Cc:        questions@freebsd.org
Subject:   Re: determining device interrupts
Message-ID:  <14767.50872.507238.613317@guru.mired.org>
In-Reply-To: <15661602@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Sean-Paul Rees writes:
> Quick question,
> 
> I'd like to see which devices are using which interrupts, in a quick n'
> simple table, something like:
> 
> dc0 <tab> 10
> xl0 <tab> 11
> ahc0 <tab> 14

That nasty part is that the dmesg output isn't consistent. YOu need

Change the "<tab>" to whatever it takes to get a tab through your
shell/editor/etc, or any other separator you want to use (except
space). I also put them in IRQ order.

$ dmesg | grep -E '(:|at).*irq' | sed -e 's/:* .*irq /<tab>/' -e 's/ .*//' | sort -n +1 

	<mike



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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