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

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

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

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

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

  5. packet_count_since_cleared: long integer, and number of packets received since statistics were cleared, same as in PR_TPLDTRAFFIC.

Example

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