[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ifstat and e1000g Ethernet driver
- To: hobbit (at) hswn.dk
- Subject: ifstat and e1000g Ethernet driver
- From: Dominique Frise <Dominique.Frise (at) unil.ch>
- Date: Fri, 17 Aug 2007 12:27:46 +0200
- Organization: University of Lausanne
- User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.1.5) Gecko/20070723 SeaMonkey/1.1.3
Hi,
The solaris regular expression in hobbitd/rrd/do_ifstat.c (Hobbit 4.2.0) does
not work for the "e1000g" Ethernet driver found on certain Sparc T2000 system.
Output of the command for ifstat:
$ /usr/bin/kstat -p -s '[or]bytes64' | sort
e1000g0:0:e1000g0/0:obytes64 868907104315
e1000g0:0:e1000g0/0:rbytes64 111199067849
e1000g:0:e1000g0:obytes64 868906791580
e1000g:0:e1000g0:rbytes64 111199060552
e1000g1:0:e1000g1/0:obytes64 0
e1000g1:0:e1000g1/0:rbytes64 0
e1000g2:0:e1000g2/0:obytes64 0
e1000g2:0:e1000g2/0:rbytes64 0
e1000g3:0:e1000g3/0:obytes64 0
e1000g3:0:e1000g3/0:rbytes64 0
Dominique
UNIL - University of Lausanne