PR_TOTALEXT
code: 257
# get
<module-index>/<port-index> PR_TOTALEXT ?
Description
PR_TOTALEXT is an extension of PR_TOTAL that also includes a calculation of bytes received in the last second, as well as a number of port error counters. PR_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 received in the last second, same as inPR_TOTAL.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_TOTAL.byte_count_since_cleared: long integer, number of bytes received since statistics were cleared, same as inPR_TOTAL.packet_count_since_cleared: long integer, and number of packets received since statistics were cleared, same as inPR_TOTAL.fcs_error_count: long integer, number of packets received with fcs error frames, same as inPR_EXTRA.oversize_count: long integer, number of oversize packets received since last clear; -1 if this counter is not supported by the tester.undersize_count: long integer, number of undersize packets received since last clear; -1 if this counter is not supported by the tester.jabber_count: long integer, number of jabber packets received since last clear; -1 if this counter is not supported by the tester.
Example
# get
input: 0/1 PR_TOTALEXT ?
output: 0/1 PR_TOTALEXT 80000 10000 8000 10000 8000 0 0 0 0