From: Jos Collin Date: Wed, 30 Nov 2022 09:20:28 +0000 (+0530) Subject: doc: updates --dump and --dumpfs X-Git-Tag: v18.1.0~327^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=247f81e5b41fea9b1de2151e7318392c03e44c0b;p=ceph-ci.git doc: updates --dump and --dumpfs Fixes: https://tracker.ceph.com/issues/57014 Signed-off-by: Jos Collin --- diff --git a/doc/cephfs/cephfs-top.rst b/doc/cephfs/cephfs-top.rst index 5192b9a5e17..4c1fdc669bb 100644 --- a/doc/cephfs/cephfs-top.rst +++ b/doc/cephfs/cephfs-top.rst @@ -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 + Interactive Commands -------------------- diff --git a/doc/man/8/cephfs-top.rst b/doc/man/8/cephfs-top.rst index e20579564d2..fd18ada77ae 100644 --- a/doc/man/8/cephfs-top.rst +++ b/doc/man/8/cephfs-top.rst @@ -44,6 +44,14 @@ Options Refresh interval in seconds (default: 1) +.. option:: --dump + + Dump the metrics to stdout + +.. option:: --dumpfs + + Dump the metrics of the given filesystem to stdout + Descriptions of fields ======================