52 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010
To Show the Driver Statistics in a Solaris
Environment

1. Use the kstat command to display driver statistics, for example:

The previous example displays the receive packet counts on all of the eight

Receive DMA channels on interface 1. Using the kstat nxge:1 shows all the

statistics that the driver supports for that interface.

2. Use the kstat command to display driver statistics of a VLAN interface, for

example:.

#kstat nxge:1 |grep rdc_packets
rdc_packets 798982054
rdc_packets 792546171
rdc_packets 803941759
rdc_packets 805674872
rdc_packets 798714912
rdc_packets 799293256
rdc_packets 806470537
rdc_packets 805413540
#kstat nxge:38001
module: nxge instance: 38001
name: nxge38001 class: net
brdcstrcv 0
brdcstxmt 0
collisions 0
crtime 3842.493000352
ierrors 0
ifspeed 10000000000
ipackets 2116069805
ipackets64 6411037101
multircv 0
multixmt 0
norcvbuf 0
noxmtbuf 0
obytes 2757388874
obytes64 23380264381002
oerrors 0
opackets 37606022
opackets64 4332573318
rbytes 2937141290
rbytes64 47178857920554