[Orca-users] nxge and e1000g
chris.l.jones at hsbc.com
chris.l.jones at hsbc.com
Tue Jun 10 08:38:11 PDT 2008
Hi Dago,
I've already tried this but the problem is the way that kstat reports these
devices, for example:
For "ce" interfaces etc:
# bin/se dumpkstats.se | grep " ce\..\."
ce.0.ce0
ce.1.ce1
ce.2.ce2
ce.3.ce3
ce.4.ce4
ce.5.ce5
ce.6.ce6
ce.7.ce7
For nxge interfaces:
# bin/se dumpkstats.se | grep " nxge\..\."
nxge.0.fm
nxge.0.RDC Channel 0 Stats
nxge.0.RDC Channel 1 Stats
nxge.0.RDC Channel 2 Stats
nxge.0.RDC Channel 3 Stats
nxge.0.RDC System Stats
nxge.0.IPP Stats
nxge.0.TDC Channel 0 Stats
nxge.0.TDC Channel 1 Stats
nxge.0.TDC Channel 2 Stats
nxge.0.TDC Channel 3 Stats
nxge.0.TDC Channel 4 Stats
nxge.0.TDC Channel 5 Stats
nxge.0.TXC Stats
nxge.0.ZCP Stats
nxge.0.FFLP Stats
nxge.0.MMAC Stats
nxge.0.Port Stats
nxge.0.mac
nxge.0.nxge0
nxge.1.fm
nxge.1.RDC Channel 0 Stats
nxge.1.RDC Channel 1 Stats
nxge.1.RDC Channel 2 Stats
nxge.1.RDC Channel 3 Stats
nxge.1.RDC System Stats
nxge.1.IPP Stats
nxge.1.TDC Channel 0 Stats
nxge.1.TDC Channel 1 Stats
nxge.1.TDC Channel 2 Stats
nxge.1.TDC Channel 3 Stats
nxge.1.TDC Channel 4 Stats
nxge.1.TDC Channel 5 Stats
nxge.1.TXC Stats
nxge.1.ZCP Stats
nxge.1.FFLP Stats
nxge.1.MMAC Stats
nxge.1.Port Stats
nxge.1.mac
nxge.1.nxge1
nxge.4.fm
nxge.4.RDC Channel 0 Stats
nxge.4.RDC Channel 1 Stats
nxge.4.RDC Channel 2 Stats
nxge.4.RDC Channel 3 Stats
nxge.4.RDC System Stats
nxge.4.IPP Stats
nxge.4.TDC Channel 0 Stats
nxge.4.TDC Channel 1 Stats
nxge.4.TDC Channel 2 Stats
nxge.4.TDC Channel 3 Stats
nxge.4.TDC Channel 4 Stats
nxge.4.TDC Channel 5 Stats
nxge.4.TXC Stats
nxge.4.ZCP Stats
nxge.4.FFLP Stats
nxge.4.MMAC Stats
nxge.4.Port Stats
nxge.4.mac
nxge.4.nxge4
nxge.5.fm
nxge.5.RDC Channel 0 Stats
nxge.5.RDC Channel 1 Stats
nxge.5.RDC Channel 2 Stats
nxge.5.RDC Channel 3 Stats
nxge.5.RDC System Stats
nxge.5.IPP Stats
nxge.5.TDC Channel 0 Stats
nxge.5.TDC Channel 1 Stats
nxge.5.TDC Channel 2 Stats
nxge.5.TDC Channel 3 Stats
nxge.5.TDC Channel 4 Stats
nxge.5.TDC Channel 5 Stats
nxge.5.TXC Stats
nxge.5.ZCP Stats
nxge.5.FFLP Stats
nxge.5.MMAC Stats
nxge.5.Port Stats
nxge.5.mac
nxge.5.nxge5
nxge.2.fm
nxge.2.RDC Channel 0 Stats
nxge.2.RDC Channel 1 Stats
nxge.2.RDC Channel 2 Stats
nxge.2.RDC Channel 3 Stats
nxge.2.RDC System Stats
nxge.2.IPP Stats
nxge.2.TDC Channel 0 Stats
nxge.2.TDC Channel 1 Stats
nxge.2.TDC Channel 2 Stats
nxge.2.TDC Channel 3 Stats
nxge.2.TDC Channel 4 Stats
nxge.2.TDC Channel 5 Stats
nxge.2.TXC Stats
nxge.2.ZCP Stats
nxge.2.FFLP Stats
nxge.2.MMAC Stats
nxge.2.Port Stats
nxge.2.mac
nxge.3.fm
nxge.3.RDC Channel 0 Stats
nxge.3.RDC Channel 1 Stats
nxge.3.RDC Channel 2 Stats
nxge.3.RDC Channel 3 Stats
nxge.3.RDC System Stats
nxge.3.IPP Stats
nxge.3.TDC Channel 0 Stats
nxge.3.TDC Channel 1 Stats
nxge.3.TDC Channel 2 Stats
nxge.3.TDC Channel 3 Stats
nxge.3.TDC Channel 4 Stats
nxge.3.TDC Channel 5 Stats
nxge.3.TXC Stats
nxge.3.ZCP Stats
nxge.3.FFLP Stats
nxge.3.MMAC Stats
nxge.3.Port Stats
nxge.3.mac
nxge.6.fm
nxge.6.RDC Channel 0 Stats
nxge.6.RDC Channel 1 Stats
nxge.6.RDC Channel 2 Stats
nxge.6.RDC Channel 3 Stats
nxge.6.RDC System Stats
nxge.6.IPP Stats
nxge.6.TDC Channel 0 Stats
nxge.6.TDC Channel 1 Stats
nxge.6.TDC Channel 2 Stats
nxge.6.TDC Channel 3 Stats
nxge.6.TDC Channel 4 Stats
nxge.6.TDC Channel 5 Stats
nxge.6.TXC Stats
nxge.6.ZCP Stats
nxge.6.FFLP Stats
nxge.6.MMAC Stats
nxge.6.Port Stats
nxge.6.mac
nxge.7.fm
nxge.7.RDC Channel 0 Stats
nxge.7.RDC Channel 1 Stats
nxge.7.RDC Channel 2 Stats
nxge.7.RDC Channel 3 Stats
nxge.7.RDC System Stats
nxge.7.IPP Stats
nxge.7.TDC Channel 0 Stats
nxge.7.TDC Channel 1 Stats
nxge.7.TDC Channel 2 Stats
nxge.7.TDC Channel 3 Stats
nxge.7.TDC Channel 4 Stats
nxge.7.TDC Channel 5 Stats
nxge.7.TXC Stats
nxge.7.ZCP Stats
nxge.7.FFLP Stats
nxge.7.MMAC Stats
nxge.7.Port Stats
nxge.7.mac
nxge.2.nxge2
nxge.6.nxge6
So, after making the standard mods to kstat.se and netif.se you get the
following:
# bin/se examples/net.se
Name Ipkts Ierrs Opkts Oerrs Colls
Coll-Rate
fm 60935533 0 6128753 0 0
0.00 %
RDC Channel 0 Stats 60935533 0 6128753 0
0 0.00 %
RDC Channel 1 Stats 60935533 0 6128753 0
0 0.00 %
RDC Channel 2 Stats 60935533 0 6128753 0
0 0.00 %
RDC Channel 3 Stats 60935533 0 6128753 0
0 0.00 %
RDC System Stats 60935533 0 6128753 0
0 0.00 %
IPP Stats 60935533 0 6128753 0 0
0.00 %
TDC Channel 0 Stats 60935533 0 6128753 0
0 0.00 %
TDC Channel 1 Stats 60935533 0 6128753 0
0 0.00 %
TDC Channel 2 Stats 60935533 0 6128753 0
0 0.00 %
TDC Channel 3 Stats 60935533 0 6128753 0
0 0.00 %
TDC Channel 4 Stats 60935533 0 6128753 0
0 0.00 %
TDC Channel 5 Stats 60935533 0 6128753 0
0 0.00 %
TXC Stats 60935533 0 6128753 0 0
0.00 %
ZCP Stats 60935533 0 6128753 0 0
0.00 %
FFLP Stats 60935533 0 6128753 0 0
0.00 %
MMAC Stats 60935533 0 6128753 0 0
0.00 %
Port Stats 60935533 0 6128753 0 0
0.00 %
mac 46674745 0 19052976 0 0
0.00 %
nxge0 46674745 0 19052976 0 0
0.00 %
fm 46674745 0 19052976 0 0
0.00 %
RDC Channel 0 Stats 46674745 0 19052976 0
0 0.00 %
RDC Channel 1 Stats 46674745 0 19052976 0
0 0.00 %
RDC Channel 2 Stats 46674745 0 19052976 0
0 0.00 %
RDC Channel 3 Stats 46674745 0 19052976 0
0 0.00 %
RDC System Stats 46674745 0 19052976 0
0 0.00 %
IPP Stats 46674745 0 19052976 0 0
0.00 %
TDC Channel 0 Stats 46674745 0 19052976 0
0 0.00 %
TDC Channel 1 Stats 46674745 0 19052976 0
0 0.00 %
TDC Channel 2 Stats 46674745 0 19052976 0
0 0.00 %
TDC Channel 3 Stats 46674745 0 19052976 0
0 0.00 %
TDC Channel 4 Stats 46674745 0 19052976 0
0 0.00 %
TDC Channel 5 Stats 46674745 0 19052976 0
0 0.00 %
TXC Stats 46674745 0 19052976 0 0
0.00 %
ZCP Stats 46674745 0 19052976 0 0
0.00 %
FFLP Stats 46674745 0 19052976 0 0
0.00 %
MMAC Stats 46674745 0 19052976 0 0
0.00 %
Port Stats 46674745 0 19052976 0 0
0.00 %
mac 48788798 0 1284470 0 0
0.00 %
nxge1 48788798 0 1284470 0 0
0.00 %
fm 48788798 0 1284470 0 0
0.00 %
RDC Channel 0 Stats 48788798 0 1284470 0
0 0.00 %
RDC Channel 1 Stats 48788798 0 1284470 0
0 0.00 %
RDC Channel 2 Stats 48788798 0 1284470 0
0 0.00 %
RDC Channel 3 Stats 48788798 0 1284470 0
0 0.00 %
RDC System Stats 48788798 0 1284470 0
0 0.00 %
IPP Stats 48788798 0 1284470 0 0
0.00 %
TDC Channel 0 Stats 48788798 0 1284470 0
0 0.00 %
TDC Channel 1 Stats 48788798 0 1284470 0
0 0.00 %
TDC Channel 2 Stats 48788798 0 1284470 0
0 0.00 %
TDC Channel 3 Stats 48788798 0 1284470 0
0 0.00 %
TDC Channel 4 Stats 48788798 0 1284470 0
0 0.00 %
TDC Channel 5 Stats 48788798 0 1284470 0
0 0.00 %
TXC Stats 48788798 0 1284470 0 0
0.00 %
ZCP Stats 48788798 0 1284470 0 0
0.00 %
FFLP Stats 48788798 0 1284470 0 0
0.00 %
MMAC Stats 48788798 0 1284470 0 0
0.00 %
Port Stats 48788798 0 1284470 0 0
0.00 %
mac 8948510 0 22271757 0 0
0.00 %
nxge4 8948510 0 22271757 0 0
0.00 %
fm 8948510 0 22271757 0 0
0.00 %
RDC Channel 0 Stats 8948510 0 22271757 0
0 0.00 %
RDC Channel 1 Stats 8948510 0 22271757 0
0 0.00 %
RDC Channel 2 Stats 8948510 0 22271757 0
0 0.00 %
RDC Channel 3 Stats 8948510 0 22271757 0
0 0.00 %
RDC System Stats 8948510 0 22271757 0
0 0.00 %
IPP Stats 8948510 0 22271757 0 0
0.00 %
TDC Channel 0 Stats 8948510 0 22271757 0
0 0.00 %
TDC Channel 1 Stats 8948510 0 22271757 0
0 0.00 %
TDC Channel 2 Stats 8948510 0 22271757 0
0 0.00 %
TDC Channel 3 Stats 8948510 0 22271757 0
0 0.00 %
TDC Channel 4 Stats 8948510 0 22271757 0
0 0.00 %
TDC Channel 5 Stats 8948510 0 22271757 0
0 0.00 %
TXC Stats 8948510 0 22271757 0 0
0.00 %
ZCP Stats 8948510 0 22271757 0 0
0.00 %
FFLP Stats 8948510 0 22271757 0 0
0.00 %
MMAC Stats 8948510 0 22271757 0 0
0.00 %
Port Stats 8948510 0 22271757 0 0
0.00 %
mac 46988059 0 3084604 0 0
0.00 %
nxge5 46988059 0 3084604 0 0
0.00 %
fm 46988059 0 3084604 0 0
0.00 %
RDC Channel 0 Stats 46988059 0 3084604 0
0 0.00 %
RDC Channel 1 Stats 46988059 0 3084604 0
0 0.00 %
RDC Channel 2 Stats 46988059 0 3084604 0
0 0.00 %
RDC Channel 3 Stats 46988059 0 3084604 0
0 0.00 %
RDC System Stats 46988059 0 3084604 0
0 0.00 %
IPP Stats 46988059 0 3084604 0 0
0.00 %
TDC Channel 0 Stats 46988059 0 3084604 0
0 0.00 %
TDC Channel 1 Stats 46988059 0 3084604 0
0 0.00 %
TDC Channel 2 Stats 46988059 0 3084604 0
0 0.00 %
TDC Channel 3 Stats 46988059 0 3084604 0
0 0.00 %
TDC Channel 4 Stats 46988059 0 3084604 0
0 0.00 %
TDC Channel 5 Stats 46988059 0 3084604 0
0 0.00 %
TXC Stats 46988059 0 3084604 0 0
0.00 %
ZCP Stats 46988059 0 3084604 0 0
0.00 %
FFLP Stats 46988059 0 3084604 0 0
0.00 %
MMAC Stats 46988059 0 3084604 0 0
0.00 %
Port Stats 46988059 0 3084604 0 0
0.00 %
mac 64859978 0 6128753 0 0
0.00 %
fm 64859978 0 6128753 0 0
0.00 %
RDC Channel 0 Stats 64859978 0 6128753 0
0 0.00 %
RDC Channel 1 Stats 64859978 0 6128753 0
0 0.00 %
RDC Channel 2 Stats 64859978 0 6128753 0
0 0.00 %
RDC Channel 3 Stats 64859978 0 6128753 0
0 0.00 %
RDC System Stats 64859978 0 6128753 0
0 0.00 %
IPP Stats 64859978 0 6128753 0 0
0.00 %
TDC Channel 0 Stats 64859978 0 6128753 0
0 0.00 %
TDC Channel 1 Stats 64859978 0 6128753 0
0 0.00 %
TDC Channel 2 Stats 64859978 0 6128753 0
0 0.00 %
TDC Channel 3 Stats 64859978 0 6128753 0
0 0.00 %
TDC Channel 4 Stats 64859978 0 6128753 0
0 0.00 %
TDC Channel 5 Stats 64859978 0 6128753 0
0 0.00 %
TXC Stats 64859978 0 6128753 0 0
0.00 %
ZCP Stats 64859978 0 6128753 0 0
0.00 %
FFLP Stats 64859978 0 6128753 0 0
0.00 %
MMAC Stats 64859978 0 6128753 0 0
0.00 %
Port Stats 64859978 0 6128753 0 0
0.00 %
mac 0 0 0 0 0
0.00 %
fm 0 0 0 0 0
0.00 %
RDC Channel 0 Stats 0 0 0 0
0 0.00 %
RDC Channel 1 Stats 0 0 0 0
0 0.00 %
RDC Channel 2 Stats 0 0 0 0
0 0.00 %
RDC Channel 3 Stats 0 0 0 0
0 0.00 %
RDC System Stats 0 0 0 0
0 0.00 %
IPP Stats 0 0 0 0 0
0.00 %
TDC Channel 0 Stats 0 0 0 0
0 0.00 %
TDC Channel 1 Stats 0 0 0 0
0 0.00 %
TDC Channel 2 Stats 0 0 0 0
0 0.00 %
TDC Channel 3 Stats 0 0 0 0
0 0.00 %
TDC Channel 4 Stats 0 0 0 0
0 0.00 %
TDC Channel 5 Stats 0 0 0 0
0 0.00 %
TXC Stats 0 0 0 0 0
0.00 %
ZCP Stats 0 0 0 0 0
0.00 %
FFLP Stats 0 0 0 0 0
0.00 %
MMAC Stats 0 0 0 0 0
0.00 %
Port Stats 0 0 0 0 0
0.00 %
mac 60935535 0 6128753 0 0
0.00 %
fm 60935535 0 6128753 0 0
0.00 %
RDC Channel 0 Stats 60935535 0 6128753 0
0 0.00 %
RDC Channel 1 Stats 60935535 0 6128753 0
0 0.00 %
RDC Channel 2 Stats 60935535 0 6128753 0
0 0.00 %
RDC Channel 3 Stats 60935535 0 6128753 0
0 0.00 %
RDC System Stats 60935535 0 6128753 0
0 0.00 %
IPP Stats 60935535 0 6128753 0 0
0.00 %
TDC Channel 0 Stats 60935535 0 6128753 0
0 0.00 %
TDC Channel 1 Stats 60935535 0 6128753 0
0 0.00 %
TDC Channel 2 Stats 60935535 0 6128753 0
0 0.00 %
TDC Channel 3 Stats 60935535 0 6128753 0
0 0.00 %
TDC Channel 4 Stats 60935535 0 6128753 0
0 0.00 %
TDC Channel 5 Stats 60935535 0 6128753 0
0 0.00 %
TXC Stats 60935535 0 6128753 0 0
0.00 %
ZCP Stats 60935535 0 6128753 0 0
0.00 %
FFLP Stats 60935535 0 6128753 0 0
0.00 %
MMAC Stats 60935535 0 6128753 0 0
0.00 %
Port Stats 60935535 0 6128753 0 0
0.00 %
mac 0 0 0 0 0
0.00 %
nxge2 64859978 0 6128753 0 0
0.00 %
nxge6 60935535 0 6128753 0 0
0.00 %
The problem is that not being familiar with the appropriate programming
languages I am uncertain as to how to filter out only the nxge.n.nxgen
values.
Any pointers would be much appreciated.......
Thanks,
Chris Jones
UNIX Engineer | HSBC BANK PLC UK
Global Banking & Markets Infrastructure Delivery and Support
9th Floor, 8 Canada Square, Canary Wharf, London, E14 5HQ
____________________________________________________________
Phone Internal 799 12193 External 020 799 12193
Email chris.l.jones at hsbc.com
____________________________________________________________
"Dagobert
Michelsen"
<dam at baltic-onlin To
e.de> Chris L JONES/HBEU/HSBC at HSBC,
orca-users at orcaware.com
10/06/2008 14:20 cc
Mail Size: 3936
Subject
Re: [Orca-users] nxge and e1000g
Entity
HSBC Bank plc - HBEU
Hi Chris,
Von chris.l.jones at hsbc.com (Tue, 10 Jun 2008 13:59:25 +0100):
> Does anyone have working versions of kstat.se and netif.se that capture
> metrics for nxge and e1000g interfaces??
>
> I've had a look at www.setoolkit.org but v3.5.0 only includes e1000g
> interfaces and not nxge.
There is currently no support for this, but you could easily add
support for your own. See
<
http://setoolkit.svn.sourceforge.net/viewvc/setoolkit?view=rev&revision=13>
for how to add additional network interfaces. If you'll submit a patch
within the next days it may make it into the final 3.5.0 ;-)
Best regards
-- Dago
--
Dagobert Michelsen (Leiter IT) Baltic Online Computer GmbH
Firmensitz: Alter Markt 1-2, 24103 Kiel, Telefon: +49 431 54003-0
Geschäftsführer: Erik Cickovskis, Amtsgericht Kiel, HRB 3756
"Of course computer servers don't need thrust, since they generally
don't go anywhere." -- Comment in TR on new HP server turbine fans
************************************************************
HSBC Bank plc
Registered Office: 8 Canada Square, London E14 5HQ
Registered in England - Number 14259
Authorised and regulated by the Financial Services Authority
************************************************************
-----------------------------------------
SAVE PAPER - THINK BEFORE YOU PRINT!
This E-mail is confidential.
It may also be legally privileged. If you are not the addressee you
may not copy, forward, disclose or use any part of it. If you have
received this message in error, please delete it and all copies
from your system and notify the sender immediately by return
E-mail.
Internet communications cannot be guaranteed to be timely secure,
error or virus-free. The sender does not accept liability for any
errors or omissions.
More information about the Orca-users
mailing list