PT_TOTAL#

code: 230

# get
<module-index>/<port-index> PT_TOTAL ?

Description#

Obtains statistics concerning all the packets transmitted on a port.

Actions#

get

Parameters#

  1. bit_count_last_sec: long integer, number of bits transmitted in the last second.

  2. packet_count_last_sec: long integer, number of packets transmitted in the last second.

  3. byte_count_since_cleared: long integer, number of bytes transmitted since statistics were cleared.

  4. packet_count_since_cleared: long integer, number of packets transmitted since statistics were cleared.

Example#

# get
input:  0/1 PT_TOTAL ?
output: 0/1 PT_TOTAL 80000 8000 10000 8000