Scroll to navigation

PMSTORE(1) General Commands Manual PMSTORE(1)


pmstore - modify performance metric values


pmstore [-LfF] [-h host] [-i instances] [-K spec] [-n pmnsfile] metricname value









If the metric has an integer type, then value should be an optional leading hyphen, followed either by decimal digits or ``0x'' and some hexadecimal digits. ``0X'' is also acceptable in lieu of ``0x''. See strtol(3) and the related routines.



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).


default PMNS specification files




pmcd(1), pminfo(1), pmval(1), PMAPI(3), pmFetch(3), pmSpecLocalPMDA(3), pmStore(3), strtod(3) and strtol(3).





PCP Performance Co-Pilot