pmstore changes the current values for the nominated instances of a single performance metric, as identified by metricname and the list of instance identifiers following the -i argument. instances must be a single argument, with elements of the list separated by commas and/or white space. By default all instances of metricname will be updated.
Normally pmstore operates on the default Performance Metrics Name Space (PMNS), however if the -n option is specified an alternative namespace is loaded from the file pmnsfile.
Unless directed to another host by the -h option, pmstore will interact with the Performance Metric Collector Daemon (PMCD) on the local host.
The -L option causes pmstore to use a local context to store to metrics from PMDAs on the local host without PMCD. Only some metrics are available in this mode. The -h and -L options are mutually exclusive.
The -f option forces the given value to be stored, even if there is no current value set.
The interpretation of value is dependent on the syntax used in its specification and the underlying data type of metricname , as follows.
The output reports the old value and the new value for each updated instance of the requested metric.
When using the -L option to fetch metrics from a local context, the -K option may be used to control the DSO PMDAs that should be made accessible. The spec argument conforms to the syntax described in pmSpecLocalPMDA (3). More than one -K option may be used.
Normally pmstore will report the old value (as initially retrieved using pmFetch (3)) and the new value from the command line. The -F option forces another pmFetch (3) after the pmStore (3) and the returned value is reported as the new value. This is useful in cases where metricname is a metric that provides different semantics for the store operation, e.g. to increment the current value or reset a counter (independent of the value from the command line).
The value "???" is out of range for the data type (PM_TYPE_...)
The value "???" is incompatible with the data type (PM_TYPE_...)