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
bit_count_last_sec
: long integer, number of bits transmitted in the last second, same as inPT_STREAM
.byte_count_last_sec
: long integer, number of bytes transmitted in the last second.packet_count_last_sec
: long integer, number of packets transmitted in the last second, same as inPT_STREAM
.byte_count_since_cleared
: long integer, number of bytes transmitted since statistics were cleared, same as inPT_STREAM
.packet_count_since_cleared
: long integer, number of packets transmitted since statistics were cleared, same as inPT_STREAM
.
Example
# get
input: 0/1 PT_STREAMEXT [0] ?
output: 0/1 PT_STREAMEXT [0] 80000 10000 8000 10000 8000