Bug 2020988

Summary: [RFE] pcp-dstat should provide "--top-*" options like --top-cpu from the original 'dstat' utility
Product: Red Hat Enterprise Linux 9 Reporter: Christian Horn <chorn>
Component: pcpAssignee: Nathan Scott <nathans>
Status: CLOSED ERRATA QA Contact: Jan Kurik <jkurik>
Severity: unspecified Docs Contact: Jacob Taylor Valdez <jvaldez>
Priority: unspecified    
Version: 9.0CC: agerstmayr, jkurik, nathans
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: 9.2   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: pcp-6.0.0-1.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 07:29:44 UTC Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Horn 2021-11-08 01:40:24 UTC
Description of problem:
pcp-dstat should provide "--top-*" options like --top-cpu, as stand alone 'dstat' provides

Version-Release number of selected component (if applicable):
pcp 5.3 does not provide this

How reproducible:
If implemented, for example "pcp dstat --top-cpu" would provide
comparable output to "dstat --top-cpu" with dstat.

Comment 1 Nathan Scott 2022-03-01 22:08:20 UTC
Minimal feature work is now being scheduled for PCP in RHEL 8 - we plan on adding this functionality in the 9.2 release with PCP v6.

Comment 4 Nathan Scott 2022-05-13 06:07:54 UTC
Upstream: https://github.com/performancecopilot/pcp/pull/1595

commit a4a85f5d63160cec88672e432c617a496ee40103
Author: Nathan Scott <nathans>
Date:   Thu May 5 08:44:09 2022 +1000

    pcp-dstat: implement support for the top-alike plugins
    
    Resolves Red Hat BZ #2020988.

Comment 8 errata-xmlrpc 2023-05-09 07:29:44 UTC
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 (pcp bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2023:2180