]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephfs-top: adding doc for menu options 47998/head
authorNeeraj Pratap Singh <neesingh@redhat.com>
Fri, 6 May 2022 09:53:31 +0000 (15:23 +0530)
committerNeeraj Pratap Singh <neesingh@redhat.com>
Mon, 19 Sep 2022 17:35:24 +0000 (23:05 +0530)
Fixes: https://tracker.ceph.com/issues/54978
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit e9d43d783829397bed054047d16ffee9f316f4fc)

doc/cephfs/cephfs-top.png
doc/cephfs/cephfs-top.rst

index 807029d00703effe49032b6f7d2d6f46492f7cb6..ca18abfd180e71c662a33e682c8e59bfaaa272e4 100644 (file)
Binary files a/doc/cephfs/cephfs-top.png and b/doc/cephfs/cephfs-top.png differ
index 780d7d2a81563f5c5f1d99f7e0a21d90963f63f8..cecfa6c75f2f95b428d08233b60e49da71b2befe 100644 (file)
@@ -9,7 +9,7 @@ in realtime. `cephfs-top` is a curses based python script which makes use of `st
 plugin in Ceph Manager to fetch (and display) metrics.
 
 Manager Plugin
---------------
+==============
 
 Ceph Filesystem clients periodically forward various metrics to Ceph Metadata Servers (MDS)
 which in turn get forwarded to Ceph Manager by MDS rank zero. Each active MDS forward its
@@ -53,7 +53,7 @@ To fetch metrics only for a subset of active MDSs (e.g., MDS rank 1 and 2)::
   $ ceph fs perf stats --mds_rank=1,2
 
 `cephfs-top`
-------------
+============
 
 `cephfs-top` utility relies on `stats` plugin to fetch performance metrics and display in
 `top(1)` like format. `cephfs-top` is available as part of `cephfs-top` package.
@@ -63,6 +63,9 @@ By default, `cephfs-top` uses `client.fstop` user to connect to a Ceph cluster::
   $ ceph auth get-or-create client.fstop mon 'allow r' mds 'allow r' osd 'allow r' mgr 'allow r'
   $ cephfs-top
 
+Command-Line Options
+--------------------
+
 To use a non-default user (other than `client.fstop`) use::
 
   $ cephfs-top --id <name>
@@ -77,8 +80,16 @@ By default, `cephfs-top` connects to cluster name `ceph`. To use a non-default c
 
 Interval should be greater or equal to 0.5 second. Fractional seconds are honoured.
 
-Sample screenshot running `cephfs-top` with 2 clients:
+Interactive Commands
+--------------------
 
-.. image:: cephfs-top.png
+1. m : Filesystem selection
+      Displays a menu of filesystems for selection.
+
+2. q : Quit
+      Exit the utility if you are at the home screen (all filesystem info),
+      otherwise escape back to the home screen.
 
-.. note:: As of now, `cephfs-top` does not reliably work with multiple Ceph Filesystems.
+Sample screenshot running `cephfs-top` with 2 filesystems:
+
+.. image:: cephfs-top.png