| Summary: | pmlc does not allow enabling multiple metrics | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marko Myllynen <myllynen> |
| Component: | pcp | Assignee: | Nathan Scott <nathans> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | brolley, fche, lberk, mgoodwin, nathans, pcp, scox |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-17 13:52:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
(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.
|
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