To Show the Driver Statistics in a Solaris Environment

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

#kstat nxge:1 grep rdc_packets

rdc_packets798982054

rdc_packets792546171

rdc_packets803941759

rdc_packets805674872

rdc_packets798714912

rdc_packets799293256

rdc_packets806470537

rdc_packets805413540

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: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

 

 

 

 

52 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010

Page 62
Image 62
Oracle Audio Technologies SunDual 10GbE XFP To Show the Driver Statistics in a Solaris Environment, # kstat Nxge38001