pmSortInstances (3) - Linux Manuals
pmSortInstances: sort performance metric values on instance identifier
NAME
pmSortInstances - sort performance metric values on instance identifierC SYNOPSIS
#include <pcp/pmapi.h>void pmSortInstances(pmResult *result);
DESCRIPTION
The routine pmSortInstances may be used to guarantee that for each performance metric in the result from pmFetch(3), the instances are in ascending instance identifier sequence.
This is most useful when trying to compute rates from two consecutive pmFetch(3) results.
DIAGNOSTICS
None.