]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: updates --dump and --dumpfs
authorJos Collin <jcollin@redhat.com>
Wed, 30 Nov 2022 09:20:28 +0000 (14:50 +0530)
committerJos Collin <jcollin@redhat.com>
Thu, 16 Feb 2023 09:43:19 +0000 (15:13 +0530)
Fixes: https://tracker.ceph.com/issues/57014
Signed-off-by: Jos Collin <jcollin@redhat.com>
doc/cephfs/cephfs-top.rst
doc/man/8/cephfs-top.rst

index 5192b9a5e1714baaf853367dc2492502039aff19..4c1fdc669bb14cfa68a2f5c92939b4d1e50fb9d9 100644 (file)
@@ -80,6 +80,14 @@ By default, `cephfs-top` connects to cluster name `ceph`. To use a non-default c
 
 Interval should be greater than or equal to 0.5 seconds. Fractional seconds are honoured.
 
+To dump the metrics to stdout without creating a curses display use::
+
+  $ cephfs-top --dump
+
+To dump the metrics of the given filesystem to stdout without creating a curses display use::
+
+  $ cephfs-top --dumpfs <fs_name>
+
 Interactive Commands
 --------------------
 
index e20579564d26915d9f10b88b998df66068a06165..fd18ada77ae06bb5a01bda3849179a04b6c8f33d 100644 (file)
@@ -44,6 +44,14 @@ Options
 
    Refresh interval in seconds (default: 1)
 
+.. option:: --dump
+
+   Dump the metrics to stdout
+
+.. option:: --dumpfs <fs_name>
+
+   Dump the metrics of the given filesystem to stdout
+
 Descriptions of fields
 ======================