Project

General

Profile

Actions

Bug #57014

closed

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

Added by Jos Collin over 1 year ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
backport_processed
Backport:
pacific,quincy
Regression:
No
Severity:
2 - major
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.


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #58807: pacific: cephfs-top: add an option to dump the computed values to stdoutResolvedJos CollinActions
Copied to CephFS - Backport #58808: quincy: cephfs-top: add an option to dump the computed values to stdoutResolvedJos CollinActions
Actions #1

Updated by Venky Shankar over 1 year ago

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

Jos, please take this one.

Actions #2

Updated by Jos Collin over 1 year ago

  • Description updated (diff)
Actions #3

Updated by Jos Collin over 1 year ago

  • Status changed from New to In Progress
Actions #4

Updated by Jos Collin over 1 year ago

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

Updated by Venky Shankar about 1 year ago

  • Severity changed from 3 - minor to 2 - major

This feature has become really important given that (backport) bugs creep in due to the lack of automated tests.

Actions #6

Updated by Venky Shankar about 1 year ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from quincy to pacific,quincy
Actions #7

Updated by Backport Bot about 1 year ago

  • Copied to Backport #58807: pacific: cephfs-top: add an option to dump the computed values to stdout added
Actions #8

Updated by Backport Bot about 1 year ago

  • Copied to Backport #58808: quincy: cephfs-top: add an option to dump the computed values to stdout added
Actions #9

Updated by Backport Bot about 1 year ago

  • Tags set to backport_processed
Actions #10

Updated by Jos Collin 9 months ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF