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/impl.h>
11       #include <pcp/pmda.h>
12
13       int pmdaStore(pmResult *result, pmdaExt *pmda);
14
15       cc ... -lpcp_pmda -lpcp
16

DESCRIPTION

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

DIAGNOSTICS

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

CAVEAT

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

SEE ALSO

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