aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColy Li <colyli@suse.de>2020-09-02 20:09:06 +0800
committerColy Li <colyli@suse.de>2020-09-02 20:09:06 +0800
commit91fd5fb518ae535e36cff1ae188d1bcef874cf40 (patch)
treeac49664c52a7a3d6796ee4fdcaf1a29426fd8b4b
parent10824170800268e91508e2edc6ed745f40370f0a (diff)
downloadbcache-tools-91fd5fb518ae535e36cff1ae188d1bcef874cf40.tar.gz
bcache-tools: add man page bcache-status.8
Add the initial man page for bcache-status. Signed-off-by: Coly Li <colyli@suse.de>
-rw-r--r--bcache-status.847
1 files changed, 47 insertions, 0 deletions
diff --git a/bcache-status.8 b/bcache-status.8
new file mode 100644
index 00000000..f56cfb69
--- /dev/null
+++ b/bcache-status.8
@@ -0,0 +1,47 @@
+.TH bcache-status 8
+.SH NAME
+bcache-status \- Display useful bcache statistics
+
+.SH SYNOPSIS
+.B bcache-status [ --help ] [ -f ] [ -h ] [ -d ] [ -t ] [ -a ] [ -r ] [ -s ] [ -g ]
+
+.SH DESCRIPTION
+This command displays useful bcache statistics in a convenient way.
+
+.SH OPTIONS
+
+.TP
+.BR \-\-help
+Print help message and exit.
+
+.TP
+.BR \-f ", " \-\-five\-minute
+Print the last five minutes of stats.
+
+.TP
+.BR \-h ", " \-\-hour
+Print the last hour of stats.
+
+.TP
+.BR \-d ", " \-\-day
+Print the last day of stats.
+
+.TP
+.BR \-t ", " \-\-total
+Print total stats.
+
+.TP
+.BR \-a ", " \-\-all
+Print all stats.
+
+.TP
+.BR \-r ", " \-\-reset\-stats
+Reset stats after printing them.
+
+.TP
+.BR \-s ", " \-\-sub\-status
+Print subdevice status.
+
+.TP
+.BR \-g ", " \-\-gc
+Invoke GC before printing status (root only).