aboutsummaryrefslogtreecommitdiff
path: root/doc/sg_rep_zones.8
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2022-02-24 19:36:23 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2022-02-24 19:36:23 +0000
commitc0b22a17517d2e95e66871fd6b94dc76005e619e (patch)
tree8b817b13b18b978d240adb36dafdcf00d90dfd8d /doc/sg_rep_zones.8
parenta7661ae7083b3360fc4f6c7b6d7daa97ed9e9013 (diff)
downloadsg3_utils-c0b22a17517d2e95e66871fd6b94dc76005e619e.tar.gz
sg_rep_zones: add --statistics option; bump sg3_utils.spec version number
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@940 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg_rep_zones.8')
-rw-r--r--doc/sg_rep_zones.822
1 files changed, 15 insertions, 7 deletions
diff --git a/doc/sg_rep_zones.8 b/doc/sg_rep_zones.8
index 2f03ba9a..fe492d1c 100644
--- a/doc/sg_rep_zones.8
+++ b/doc/sg_rep_zones.8
@@ -7,8 +7,8 @@ sg_rep_zones \- send SCSI REPORT ZONES, REALMS or ZONE DOMAINS command
[\fI\-\-help\fR] [\fI\-\-hex\fR] [\fI\-\-inhex=FN\fR] [\fI\-\-locator=LBA\fR]
[\fI\-\-maxlen=LEN\fR] [\fI\-\-num=NUM\fR] [\fI\-\-partial\fR] [\fI\-\-raw\fR]
[\fI\-\-readonly\fR] [\fI\-\-realm\fR] [\fI\-\-report=OPT\fR]
-[\fI\-\-start=LBA\fR] [\fI\-\-verbose\fR] [\fI\-\-version\fR] [\fI\-\-wp\fR]
-\fIDEVICE\fR
+[\fI\-\-start=LBA\fR] [\fI\-\-statistics\fR] [\fI\-\-verbose\fR]
+[\fI\-\-version\fR] [\fI\-\-wp\fR] \fIDEVICE\fR
.SH DESCRIPTION
.\" Add any additional description here
.PP
@@ -50,11 +50,12 @@ the first occurrence that is
the given zone type.
.br
The algorithm used by this option takes into account the \fI\-\-hex\fR,
-\fI\-\-maxlen=LEN\fR, \fI\-\-report=OPT\fR and \fI\-\-start=LBA\fR options,
-if given, and ignores other options. It is only implemented for the Report
-zones command. The algorithm may call the Report zones command repeatedly,
-with the PARTIAL bit set and the Zone start LBA field being increased as it
-goes. This continues until either there is a match on the \fIZT\fR condition
+\fI\-\-maxlen=LEN\fR, \fI\-\-num=NUM\fR, \fI\-\-report=OPT\fR and
+\fI\-\-start=LBA\fR options, if given, and ignores other options. It is only
+implemented for the Report zones command currently. The algorithm may call
+the Report zones command repeatedly, with the PARTIAL bit set and the Zone
+start LBA field being increased as it goes. This continues until either
+there is a match on the \fIZT\fR condition, \fI\-\-num=NUM\fR is exhausted
or the number of zones is exhausted.
.br
The \fIZT\fR numbers and abbreviations are listed when the \fI\-\-help\fR
@@ -175,6 +176,13 @@ the zone domain/realm locator field for the two newer ZBC\-2 commands. For
this utility \fI\-\-locator=LBA\fR and \fI\-\-start=LBA\fR are
interchangeable.
.TP
+\fB\-S\fR, \fB\-\-statistics\fR
+reviews all or a limited number of report zones, collects statistics and
+prints them (on stdout). The number of zones reviewed may be limited by
+any combination of \fI\-\-num=NUM\fR, \fI\-\-report=OPT\fR and
+\fI\-\-start=LBA\fR options. The long option name may be abbreviated to
+\fI\-\-stats\fR.
+.TP
\fB\-v\fR, \fB\-\-verbose\fR
increase the level of verbosity, (i.e. debug output).
.TP