What were you trying to do that didn't work?
When output of pcp2openmetrics tool is redirected from the stdout to a file using "-F" command ine parameter, the redirection is ignored and the output goes to stdout anyway.
Please provide the package NVR for which bug is seen:
pcp-6.2.1-1.el9
How reproducible:
Always
Steps to reproduce
- Install pcp & pcp-export-pcp2openmetrics packages
- Start pmcd and pmlogger
- Export some metric from an archive to a file
pcp2openmetrics -a /var/log/pcp/pmlogger/$(hostname)/ -F /tmp/load.openmetrics 'kernel.all.load'
Expected results
The result is written to the /tmp/load.openmetrics file.
Actual results
The result is printed on stdout
- split from
-
RHEL-32407 pcp2openmetrics ignores the output file specified via "-F" command line param
- Closed