Clearing Statistics Of A Specified Device (Clear) - Huawei IN200 User Manual

Ethernet nic
Table of Contents

Advertisement

Huawei IN200 NIC
User Guide
pcie fault: 0
Chip Faults info:
module_id err_level er_type stats
0x02
0x05

6.1.4.12 Clearing Statistics of a Specified Device (clear)

Function
The clear command is used to clear the statistics of a specified type of a specified device
type.
Format
hinicadm clear -i <nicdevicename> -t <type>
Parameters
Paramete
r
nicdevicen
ame
type
Usage Instruction
When type=2, the device name must be the network port name.
Example
# Clear the asynchronous event statistics of the IN200.
[root@localhost]# hinicadm clear -i hinic0 -t 0
Clear event stats succeed.
# Clear the I/O statistics of the eth0 port on the IN200.
[root@localhost]# hinicadm clear -i eth0 -t 2
Clear driver stats succeed.
Clear vport stats succeed.
Clear port stats succeed.
Issue 06 (2019-07-27)
0x01
0x6b
0x04
0x01
0x8c
0x04
Description
Indicates the name of
the IN200 whose
statistics are to be
cleared in the system.
Indicates the statistics
type to be cleared.
Copyright © Huawei Technologies Co., Ltd.
Value
Example: hinic0 and hinic1
NOTE
l If type is set to 1 or 2, the value can be eth0.
l If the object name used to clear the driver statistics is a
device name (for example, hinic0), the statistics of all
network devices on hinic0 are cleared. If the object
name used to clear the driver statistics is a network
device name (for example, eth0), the statistics on the
specified network device (eth0) are cleared.
l 0: asynchronous information statistics
l 1: DFX information statistics
l 2: Basic I/O statistics
6 Management Tools
71

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents