Bug 2184991

Summary: cephfs-top: add --dump and --dumpfs feature
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Jos Collin <jcollin>
Component: CephFSAssignee: Jos Collin <jcollin>
Status: CLOSED ERRATA QA Contact: Hemanth Kumar <hyelloji>
Severity: medium Docs Contact: Rivka Pollack <rpollack>
Priority: unspecified    
Version: 5.3CC: ceph-eng-bugs, cephqe-warriors, hyelloji, rpollack, tserlin, vshankar
Target Milestone: ---Keywords: Reopened
Target Release: 6.1z7   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-17.2.6-230 Doc Type: Bug Fix
Doc Text:
. Missing fields added to the ‘cephfs-top--dump’ output Previously, the date, ‘client_count’, and filters fields were missing from the `cephfs-top --dump` command output. With this release, the missing fields date, ‘client_count’, and filters are added to the `cephfs-top --dump` output.
Story Points: ---
Clone Of:
: 2272468 (view as bug list) Environment:
Last Closed: 2024-08-28 17:57:12 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 2272468    

Description Jos Collin 2023-04-06 12:20:09 UTC
Description of problem:
It would be nice if cephfs-top dumps it's computed values to stdout in json format. The json should contain all the fields & corresponding values displayed on the cephfs-top screen for each client, so currently there are 20 fields for a client. When cephfs-top is run with this new option, the ncurses mode would be disabled. This would be really useful if some other module want to access these values exported from cephfs-top, especially for writing qa tests.

Comment 9 Jos Collin 2024-04-08 05:35:40 UTC
The MRs are ready.

Comment 18 errata-xmlrpc 2024-08-28 17:57:12 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 (Red Hat Ceph Storage 6.1 security, bug fix, and enhancement updates.), 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-2024:5960