PT_STREAMEXT

code: 238

# get
<module-index>/<port-index> PT_STREAMEXT [<stream_index>] ?

Description

PT_STREAMEXT is an extension to PT_STREAM that also includes a calculation of bytes transmitted in the last second. PT_STREAMEXT 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_STREAM.

  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_STREAM.

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

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

Example

# get
input:  0/1 PT_STREAMEXT [0] ?
output: 0/1 PT_STREAMEXT [0] 80000 10000 8000 10000 8000