interrupt statistics
Dag-ErlingSmørgrav
des at des.no
Thu Nov 20 23:38:03 PST 2003
Peter Pentchev <roam at 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 at 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
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-hackers
mailing list