PD_SAMPLES

code: 146

# get
<module-index>/<port-index> PD_SAMPLES [<dataset_index>] ?

Description

The current set of counts collected by a histogram for a port. There is one value for each bucket, but any trailing zeros are left out. The list is empty if all counts are zero.

Actions

get

Parameters

  1. packet_counts: long integer list, the number of packets counted for each bucket

Example

# get
input:  0/1 PD_SAMPLES [0] ?
output: 0/1 PD_SAMPLES [0] 123456789123 123456789124