Red Hat Bugzilla – Bug 1327263
pmlc does not allow enabling multiple metrics
Last modified: 2016-05-17 09:52:17 EDT
Description of problem: From pmlc(1): [ log ] mandatory on interval metriclist This form of the log command turns on logging for the metrics (and any instances) in metriclist. interval specifies how often the specified metrics/instances should be logged. once indicates that However, while this works: # echo log mandatory on every 10sec proc.io.wchar | pmlc -P These fail: # echo log mandatory on every 10sec proc.io.wchar proc.io.rchar | pmlc -P # echo log mandatory on every 10sec $(pminfo proc | tr '\n' ' ') | pmlc -P
(In reply to Marko Myllynen from comment #0) > > These fail: > > # echo log mandatory on every 10sec proc.io.wchar proc.io.rchar | pmlc -P > # echo log mandatory on every 10sec $(pminfo proc | tr '\n' ' ') | pmlc -P Obviously it'd be nice if this would also work: # echo log mandatory on every 10sec proc | pmlc -P
When reading the pmlc(1) man page again, we notice this is the correct form: # echo log mandatory on every 10sec { proc.io.wchar proc.io.rchar } | pmlc -P Closing.