pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/33755 (Kernel lacks a VFS/Disk IO Stats API for pkgsrc/net/net-snmp mib module: ucd-snmp/diskio (snmptable diskIOTable))




This patch works very well:

seklecki@thunderwing:/tmp# snmptable -v2c \
-Cl -Cf " - " -c test localhost diskIOTable

 ----

SNMP table: UCD-DISKIO-MIB::diskIOTable

diskIOIndex - diskIODevice - diskIONRead - diskIONWritten - diskIOReads - diskIOWrites - diskIOLA1 - diskIOLA5 - diskIOLA15 - diskIONReadX - diskIONWrittenX
1 - md0 - 0 - 0 - 0 - 0 - ? - ? - ? - ? - ?
2 - cd0 - 0 - 0 - 0 - 0 - ? - ? - ? - ? - ?
3 - wd0 - 11776 - 0 - 17 - 0 - ? - ? - ? - ? - ?
4 - sd0 - 11264 - 0 - 16 - 0 - ? - ? - ? - ? - ?
5 - sd1 - 410026496 - 1065267200 - 69600 - 98416 - ? - ? - ? - ? - ?
6 - sd2 - 10240 - 0 - 14 - 0 - ? - ? - ? - ? - ?
7 - wd1 - 11776 - 0 - 17 - 0 - ? - ? - ? - ? - ?

The unified diff of this can be found at:

http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/net-snmp/patches/patch-ab.diff?r1=1.6&r2=1.7

I will try to work with the Upstream vendor to ensure that this gets fed back into their -rHEAD and pulled into the next stable release! (CC)

Thank you very much Christos!

~BAS

On Mon, 19 Jun 2006, Christos Zoulas wrote:

The following reply was made to PR pkg/33755; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: "Brian A. Seklecki" <lavalamp%spiritual-machines.org@localhost>,
        gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/33755 (Kernel lacks a VFS/Disk IO Stats API for 
pkgsrc/net/net-snmp mib module: ucd-snmp/diskio (snmptable diskIOTable))
Date: Mon, 19 Jun 2006 09:48:11 -0400

On Jun 19,  8:26am, lavalamp%spiritual-machines.org@localhost ("Brian A. 
Seklecki") wrote:
-- Subject: Re: pkg/33755 (Kernel lacks a VFS/Disk IO Stats API for pkgsrc/ne

| > I added code to net-snmp to do I/O stats for NetBSD
|
| To Net-SNMP -rHEAD or to pkgsrc? I watch thier commits (net-snmp-coders@,
| net-snmp-patches@, net-snmp-coders@, net-snmp-cvs%lists.sf.net@localhost) and 
didn't
| see anything.

pkgsrc.

christos



l8*
        -lava (Brian A. Seklecki - Pittsburgh, PA, USA)

"...back in the heady days when "Helpdesk" meant nothing, "diskquota"
meant everything, and lives could be bought and sold for a couple of pages
of laser printout - And frequently were."



Home | Main Index | Thread Index | Old Index