清除微码设备的指定项统计信息。
<tool name> clear -i <device name> -t <type> -x <counter index>
参数 |
参数说明 |
取值 |
---|---|---|
<device name> |
设备名称。 |
支持物理设备名和网络端口名,例如:hinicx,ethx。 |
<type> |
待清除的统计信息类。 |
当前仅支持取值3。 |
<counter index> |
微码统计信息指定项统计信息索引号。 |
由支持该统计项的索引字符串指定,详见help信息。 |
项目 |
描述 |
---|---|
result |
操作是否成功。 |
1 2 3 4 5 6 7 | hinicadm3 clear -i hinic0 -t 3 -x 71 NPU Statistics clear start: 71 > DSW Info 128bits Counter clear: >>> NPU Statistics clear completed! |