Peter Pentchev <[EMAIL PROTECTED]> 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?

[EMAIL PROTECTED] /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 - [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to