Skip to contentSkip to conversation

infiniband-diags: Update Common options in man pages.

PATCH New Ira Weiny 1 participant 1 message Dec 2, 2011 InfiniBand

lore
Share & tools
lore

Ira Weiny

author
#0 lore raw

PATCH 3/3 infiniband-diags: Update Common options in man pages.

Specifically remove duplicated "common options" sections from all man pages and reference "infiniband-diags(8)" page for those options.

Furthermore clean up infiniband-diags common options.

---
 man/ibaddr.8              |   56 ++-----------------------------------
 man/ibccquery.8           |   42 ++--------------------------
 man/iblinkinfo.8          |    3 ++
 man/ibnetdiscover.8       |   42 ++--------------------------
 man/ibping.8              |   51 ++--------------------------------
 man/ibportstate.8         |   57 ++------------------------------------
 man/ibqueryerrors.8.in    |   24 ++--------------
 man/ibroute.8             |   56 ++-----------------------------------
 man/ibstat.8              |   57 ++------------------------------------
 man/ibsysstat.8           |   51 ++--------------------------------
 man/ibtracert.8           |   49 ++-------------------------------
 man/infiniband-diags.8.in |   67 ++++++++++++++++++++++++++++++++++-----------
 man/perfquery.8           |   50 ++-------------------------------
 man/saquery.8             |    9 ++----
 man/sminfo.8              |   56 ++-----------------------------------
 man/smpdump.8             |   56 ++-----------------------------------
 man/smpquery.8            |   61 ++---------------------------------------
 man/vendstat.8            |   50 ++-------------------------------
 18 files changed, 102 insertions(+), 735 deletions(-)
man/ibaddr.8 +3 -53
index 51f5a1c..ef693ce 100644
@@ -19,6 +19,9 @@ Note: this utility can be used as simple address resolver.
 .SH OPTIONS
 
 .PP
+See infiniband-diags(8) for common options.
+
+.PP
 .TP
 \fB\-G\fR, \fB\-\-Guid\fR
 show lid range and gid for GUID address
@@ -32,59 +35,6 @@ show lid range (in decimal) only
 \fB\-g\fR, \fB\-\-gid_show\fR
 show gid address only
 
-.SH COMMON OPTIONS
-
-Most OpenIB diagnostics take the following common flags. The exact list of
-supported flags per utility can be found in the usage message and can be shown
-using the util_name -h syntax.
-
-# Debugging flags
-.PP
-\-d      raise the IB debugging level.
-        May be used several times (-ddd or -d -d -d).
-.PP
-\-e      show send and receive errors (timeouts and others)
-.PP
-\-h      show the usage message
-.PP
-\-v      increase the application verbosity level.
-        May be used several times (-vv or -v -v -v)
-.PP
-\-V      show the version info.
-
-# Addressing flags
-.PP
-\-D      use directed path address arguments. The path
-        is a comma separated list of out ports.
-        Examples:
-        "0"             # self port
-        "0,1,2,1,4"     # out via port 1, then 2, ...
-.PP
-\-G      use GUID address argument. In most cases, it is the Port GUID.
-        Example:
-        "0x08f1040023"
-.PP
-\-s <smlid>      use 'smlid' as the target lid for SM/SA queries.
-
-# Other common flags:
-.PP
-\-C <ca_name>    use the specified ca_name.
-.PP
-\-P <ca_port>    use the specified ca_port.
-.PP
-\-t <timeout_ms> override the default timeout for the solicited mads.
-
-Multiple CA/Multiple Port Support
-
-When no IB device or port is specified, the port to use is selected
-by the following criteria:
-.PP
-1. the first port that is ACTIVE.
-.PP
-2. if not found, the first port that is UP (physical link up).
-
-If a port and/or CA name is specified, the user request is
-attempted to be fulfilled, and will fail if it is not possible.
 
 .SH EXAMPLES
 
man/ibccquery.8 +3 -39

54 lines not on this page · raw message

man/iblinkinfo.8 +3 -0
index 5fa2678..5e35b94 100644
@@ -16,6 +16,9 @@ fabric.
 .SH OPTIONS
 
 .PP
+See infiniband-diags(8) for common options.
+
+.PP
 .TP
 \fB\-S <port_guid>\fR \fB\-G <port_guid>\fR \fB\-\-port\-guid\fR
 start partial scan at the port specified by <port_guid> (hex format)
man/ibnetdiscover.8 +3 -39

54 lines not on this page · raw message

man/ibping.8 +3 -48

63 lines not on this page · raw message

man/ibportstate.8 +3 -54

69 lines not on this page · raw message

man/ibqueryerrors.8.in +3 -21
index 372b0e4..a715e3a 100644
@@ -19,6 +19,9 @@ remote port if available.
 .SH OPTIONS
 
 .PP
+See infiniband-diags(8) for common options.
+
+.PP
 .TP
 \fB\-s <err1,err2,...>\fR
 Suppress the errors listed in the comma separated list provided.
@@ -75,27 +78,6 @@ for information on caching ibnetdiscover output.
 .TP
 \fB\-R\fR  (This option is obsolete and does nothing)
 
-.SH COMMON OPTIONS
-.PP
-\-d      raise the IB debugging level.
-	May be used several times (-ddd or -d -d -d).
-.PP
-\-e      show send and receive errors (timeouts and others)
-.PP
-\-h      show the usage message
-.PP
-\-v      increase the application verbosity level.
-	May be used several times (-vv or -v -v -v)
-.PP
-\-V      show the version info.
-
-# Other common flags:
-.PP
-\-C <ca_name>    use the specified ca_name.
-.PP
-\-P <ca_port>    use the specified ca_port.
-.PP
-\-t <timeout_ms> override the default timeout for the solicited mads.
 
 .SH EXIT STATUS
 
man/ibroute.8 +3 -53

68 lines not on this page · raw message

man/ibstat.8 +3 -54

69 lines not on this page · raw message

man/ibsysstat.8 +3 -48

63 lines not on this page · raw message

man/ibtracert.8 +3 -46

61 lines not on this page · raw message

man/infiniband-diags.8.in +51 -16

117 lines not on this page · raw message

man/perfquery.8 +3 -47

62 lines not on this page · raw message

man/saquery.8 +3 -6
index 6ae7425..89f0551 100644
@@ -20,6 +20,9 @@ saquery issues the selected SA query. Node records are queried by default.
 .SH OPTIONS
 
 .PP
+See infiniband-diags(8) for common options.
+
+.PP
 .TP
 \fB\-p\fR
 get PathRecord info
@@ -125,12 +128,6 @@ enable debugging
 \fB\-h\fR
 show help
 
-.SH FILES
-
-ib-node-name-map -- see ibnetdiscover for more information
-
-The node name map is used to specify user friendly names for nodes in the
-output.  Node GUIDs are used to perform the lookup.
 
 .SH DEPENDENCIES
 
man/sminfo.8 +3 -53

68 lines not on this page · raw message

man/smpdump.8 +3 -53

68 lines not on this page · raw message

man/smpquery.8 +3 -58

73 lines not on this page · raw message

man/vendstat.8 +3 -47

62 lines not on this page · raw message

Signature · 6 lines
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html