PR_TPLDTRAFFICEXT
code: 259
# get
<module-index>/<port-index> PR_TPLDTRAFFICEXT [<test_payload_index>] ?
Description
PR_TPLDTRAFFICEXT
is an extension of PR_TPLDTRAFFIC
that also includes a calculation of bytes received in the last second. PR_TPLDTRAFFICEXT
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 received in the last second, same as inPR_TPLDTRAFFIC
.byte_count_last_sec
: long integer, number of bytes received in the last second.packet_count_last_sec
: long integer, number of packets received in the last second, same as inPR_TPLDTRAFFIC
.byte_count_since_cleared
: long integer, number of bytes received since statistics were cleared, same as inPR_TPLDTRAFFIC
.packet_count_since_cleared
: long integer, and number of packets received since statistics were cleared, same as inPR_TPLDTRAFFIC
.
Example
# get
input: 0/1 PR_TPLDTRAFFICEXT [0] ?
output: 0/1 PR_TPLDTRAFFICEXT [0] 80000 10000 8000 10000 8000