Este contenido no está disponible en el idioma seleccionado.
5.11. The multipathd Commands
The
multipathd commands can be used to administer the multipathd daemon. For information on the available multipathd commands, see the multipathd(8) man page.
The following command shows the standard default format for the output of the
multipathd show maps command.
multipathd show maps
# multipathd show maps
name sysfs uuid
mpathc dm-0 360a98000324669436c2b45666c567942
Some
multipathd commands include a format option followed by a wildcard. You can display a list of available wildcards with the following command.
multipathd show wildcards
# multipathd show wildcards
As of Red Hat Enterprise Linux release 7.3, the
multipathd command supports new format commands that show the status of multipath devices and paths in "raw" format versions. In raw format, no headers are printed and the fields are not padded to align the columns with the headers. Instead, the fields print exactly as specified in the format string. This output can then be more easily used for scripting. You can display the wildcards used in the format string with the multipathd show wildcards command.
The following
multipathd commands show the multipath devices that multipathd is monitoring, using a format string with multipath wildcards, in regular and raw format.
list|show maps|multipaths format $format list|show maps|multipaths raw format $format
list|show maps|multipaths format $format
list|show maps|multipaths raw format $format
The following
multipathd commands show the paths that multipathd is monitoring, using a format string with multipath wildcards, in regular and raw format.
list|show paths format $format list|show paths raw format $format
list|show paths format $format
list|show paths raw format $format
The following commands show the difference between the non-raw and raw formats for the
multipathd show maps. Note that in raw format there are no headers and only a single space between the columns.