interrupt statistics

Dag-ErlingSmørgrav des at des.no
Thu Nov 20 23:50:11 PST 2003


des at des.no (Dag-Erling Smørgrav) writes:
> 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) :)
> [...]

Why don't you use sysctlbyname(3) instead of juggling with numeric
names?

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list