PT_TOTALEXT#

code: 236

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

Description#

PT_TOTALEXT is an extension to PT_TOTAL that also includes a calculation of bytes transmitted in the last second. PT_TOTALEXT returns list of long integers; this list may be expanded in future software releases.

Actions#

get

Parameters#

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

  2. byte_count_last_sec: long integer, number of bytes transmitted in the last second.

  3. packet_count_last_sec: long integer, number of packets transmitted in the last second, same as in PT_TOTAL.

  4. byte_count_since_cleared: long integer, number of bytes transmitted since statistics were cleared, same as in PT_TOTAL.

  5. packet_count_since_cleared: long integer, number of packets transmitted since statistics were cleared, same as in PT_TOTAL.

Example#

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