Oracle Audio Technologies SunDual 10GbE XFP To Show the Driver Statistics in a Linux Environment

Models: SunDual 10GbE XFP

1 86
Download 86 pages 49.16 Kb
Page 65
Image 65

To Show the Driver Statistics in a Linux Environment

1. Use the ifconfig utility to display driver statistics, for example:

#ifconfig eth4

eth9

Link

encap:Ethernet

HWaddr 00:14:4F:6C:78:E9

 

inet

addr:38.38.9.42

Bcast:38.38.9.255

Mask:255.255.255.0

inet6 addr: fe80::214:4fff:fe6c:78e9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:9194 Metric:1

RX packets:748274 errors:0 dropped:0 overruns:0 frame:0 TX packets:8645339 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:44983920 (42.9 MiB) TX bytes:75352303126 (70.1

GiB)

2.Use the ethtool utility with -Soption to get more detailed information. This option displays a large amount of statistics maintained by the driver.

#ethtool -S eth9 grep rx_pac rx_packets: 748274 rx_packets: 828 rx_packets: 112 rx_packets: 189088 rx_packets: 134 rx_packets: 196085 rx_packets: 177884 rx_packets: 93 rx_packets: 184050

Chapter 6 Configuring the Jumbo Frames Feature

55

Page 65
Image 65
Oracle Audio Technologies SunDual 10GbE XFP manual To Show the Driver Statistics in a Linux Environment, # ifconfig eth4