OVS流侦听bitheap查询、counter查询、获取镜像计数和获取镜像会话信息。
<tool name> ovs_info -i <device name> -t <type> [-x <index>]
参数 |
参数说明 |
取值 |
---|---|---|
<device name> |
设备名称。 |
物理设备名,例如:hinic0、hinic1。 |
<type> |
待查询设备的OVS卸载信息的类型。 |
|
<index> |
待查询设备的流侦听索引。 |
“-t”取值为mirror_stats时,“-x”参数无效。 |
项目 |
描述 |
---|---|
fm_bheap:latency_id(*) bheap(*) |
Latency_id对应的bheap。 |
fm_bheap:latency_id(*) counter(0x* 0x*) |
Latency_id对应的counter。 |
Clear ovs mirror stats. |
清除镜像计数成功。 |
mirror_num : * mirror_bytes : * |
|
无镜像会话信息时使用<tool name> ovs_info -i <device name> -t mirror_session将无打印信息。
查询hinic0的流侦听使用的bitheap信息。
1 2 | hinicadm3 ovs_info -i hinic0 -t fm_bheap -x 0 fm_bheap:latency_id(0) bheap(0) |
查询hinic0流侦听的counter信息。
1 2 | hinicadm3 ovs_info -i hinic0 -t fm_counter -x 0 fm_bheap:latency_id(0) counter(0x0 0x0) |