| Summary: | pcp pmiostat does not output in enough precision | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Dwight (Bud) Brown <bubrown> | ||||
| Component: | pcp | Assignee: | nikhil kshirsagar <nkshirsa> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Miloš Prchlík <mprchlik> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.7 | CC: | brolley, fche, lberk, mbenitez, mcermak, mgoodwin, mprchlik, nathans, nkshirsa, sbhat, tlavigne | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-03-21 11:20:24 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: | |||||
| Attachments: |
|
||||||
|
Description
Dwight (Bud) Brown
2016-01-11 16:29:21 UTC
Hi Bud, how about we just add -f N flag, same as supported by pmval(1) to allow N digits of precision (default N=1)? This would keep the current default at 1 digit of precision (and so wouldn't upset any PCP QA tests), but allow more digits in the pmiostat client-side reporting when needed. The full precision is always available in the captured logs, so no collector/PMDA side changes are needed here. Alternatively we could just increase the precision for the await fields, but I think -f is more flexible. Thanks -- Mark Mark, That works. Its similar to what collectl does... there is (I think) a -x flag for extended precision so already have to do something similar if the data collection is from that environment. Created attachment 1134697 [details]
testcases
This is fixed in upstream commit af4cbb06c117fe. Verified manually with build pcp-3.10.9-9.el6. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2017-0735.html |