This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1327263 - pmlc does not allow enabling multiple metrics
pmlc does not allow enabling multiple metrics
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: pcp (Show other bugs)
23
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Nathan Scott
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-14 11:39 EDT by Marko Myllynen
Modified: 2016-05-17 09:52 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-05-17 09:52:17 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Marko Myllynen 2016-04-14 11:39:36 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
Comment 1 Marko Myllynen 2016-04-14 11:44:35 EDT
(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
Comment 2 Marko Myllynen 2016-05-17 09:52:17 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.