1PMDASTORE(3) Library Functions Manual PMDASTORE(3)
2
3
4
6 pmdaStore - store a value into a metric for a PMDA
7
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
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
25 pmdaStore returns EACCESS to indicate that no metrics may be modified.
26
28 The PMDA must be using PMDA_PROTOCOL_2 or later, as specified in the
29 call to pmdaDSO(3) or pmdaDaemon(3).
30
32 pmstore(1), PMAPI(3), PMDA(3), pmdaDaemon(3), pmdaDSO(3) and
33 pmStore(3).
34
35
36
37Performance Co-Pilot SGI PMDASTORE(3)