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