Project

General

Profile

Bug #57014

cephfs-top: add an option to dump the computed values to stdout

Added by Jos Collin 4 months ago. Updated 7 days ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-top
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

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. This new option should mainly output the computed values, not just duplicating `ceph fs perf stats` output.

History

#1 Updated by Venky Shankar 4 months ago

  • Assignee set to Jos Collin
  • Target version set to v18.0.0
  • Backport set to quincy

Jos, please take this one.

#2 Updated by Jos Collin 17 days ago

  • Description updated (diff)

#3 Updated by Jos Collin 17 days ago

  • Status changed from New to In Progress

#4 Updated by Jos Collin 7 days ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 49154

Also available in: Atom PDF