1PMDASTORE(3)               Library Functions Manual               PMDASTORE(3)
2
3
4

NAME

6       pmdaStore - store a value into a metric for a PMDA
7

C SYNOPSIS

9       #include <pcp/pmapi.h>
10       #include <pcp/pmda.h>
11
12       int pmdaStore(pmResult *result, pmdaExt *pmda);
13
14       cc ... -lpcp_pmda -lpcp
15

DESCRIPTION

17       As  part  of  the  Performance  Metrics  Domain  Agent  (PMDA) API (see
18       PMDA(3)), pmdaStore is the generic callback for storing a value into  a
19       metric.  pmdaStore is usually a no-op as, by default, no metrics can be
20       altered.  Also, the implementation of a store callback which does  per‐
21       mit metrics to be altered by pmstore(1) is very application dependent.
22

DIAGNOSTICS

24       pmdaStore  returns PM_ERR_PERMISSION to indicate that no metrics may be
25       modified.
26

CAVEAT

28       The PMDA must be using PMDA_PROTOCOL_2 or later, as  specified  in  the
29       call to pmdaDSO(3) or pmdaDaemon(3).
30

SEE ALSO

32       pmstore(1),    PMAPI(3),   PMDA(3),   pmdaDaemon(3),   pmdaDSO(3)   and
33       pmStore(3).
34
35
36
37Performance Co-Pilot                  PCP                         PMDASTORE(3)
Impressum