Date: Fri, 21 Nov 2003 08:37:51 +0100 From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) To: Mike Tancsa <mike@sentex.net> Cc: hackers@freebsd.org Subject: Re: interrupt statistics Message-ID: <xzpekw2jho0.fsf@dwp.des.no> In-Reply-To: <20031120153655.GI300@straylight.m.ringlet.net> (Peter Pentchev's message of "Thu, 20 Nov 2003 17:36:55 %2B0200") References: <xzpy8ucpwz9.fsf@dwp.des.no> <jfforv4me3snqshljprg8jejht7ias0oih@4ax.com> <20031120044945.GA44933@falcon.midgard.homeip.net> <20031120131903.GG300@straylight.m.ringlet.net> <xzpznerjg2s.fsf@dwp.des.no> <20031120153655.GI300@straylight.m.ringlet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Pentchev <roam@ringlet.net> writes: > Awwighty, attached is a patch that converts getuptime() and dointr() to > use sysctl, and then adds the -a option to display all interrupts. > This one was tested on both RELENG_4 and HEAD (ref5) :) Hmm, I don't like the fact that it displays a "stray" entry for each IRQ. Perhaps it should skip stray entries unless the count is non-zero or a different option (-A perhaps) was specified. Also, why do I get a ??? entry at the top of the list? des@dwp /usr/src/usr.bin/vmstat% vmstat -ai interrupt total rate ??? 0 0 irq1: atkbd0 76236 0 stray irq1 0 0 irq3: sio1 1 0 stray irq3 0 0 [...] DES --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpekw2jho0.fsf>