Project

General

Profile

Actions

Bug #57014

closed

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

Added by Jos Collin almost 2 years ago. Updated 10 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

Also available in: Atom PDF