lsmc
Use the lsmc command to display a summary of management consoles and settings.
Syntax
Parameters
- -help | -h | -?
- Lists help for the command. If you specify additional parameters and arguments, those parameters and arguments are ignored.
- -s
- Displays default information for each management console, including the ID and local server connection.
- -l
- Displays detailed information for each management console, including:
Column label Details Management console ID The ID of the management console. Management console IP The cluster 0 IP address or domain. Local Server Connection The connection status of the management console to the local server. Location The associated location of the management console or None. - -fmt { default | xml | delim | stanza }
- Specifies the format of the output. You can specify one of these values:
- default
- Specifies that the output is displayed in tabular format using spaces as delimiters between columns. This is the default value.
- xml
- Specifies that the output is displayed in XML format.
- delim
- Specifies that output is displayed in a tabular format using commas as delimiters between columns.
- stanza
- Specifies that the output is displayed as one keyword-value pair per line.
- -p { on | off }
- Specifies whether to display one page of text at a time or all text at once.
- on
- Displays one page of text at a time. Pressing any key displays the next page. This is the default value when the command is run in interactive mode.
- off
- Displays all text at once. This is the default value when the command is run in single-shot mode.
- -hdr { on | off }
- Specifies whether to display the table header. You can specify one of these values:
- on
- Displays the table header. This is the default value.
- off
- Hides the table header.
- -r number
- Specifies the number of rows per page to display when the -p parameter is specified. You can specify a value of 1 - 100. The default value is 22.
- -v { on | off }
- Specifies whether to enable verbose mode. You can specify one of these values:
- on
- Enables verbose mode.
- off
- Disables verbose mode. This is the default value.
- -devtype ds | ds8000
- Displays information for the specified device type. You can specify one of these values:
- ds - any DS device
- ds8000 - only DS8000® devices
- id... | -
- Displays only the threshold settings for one or more specified management console IDs. The management console ID is in the element ID format (for example, HMC:9.11.222.333). Separate multiple IDs with a blank space.
Alternatively, use the dash (-) to specify that input for this parameter comes from an input stream (stdin). The dash is supported only in single-shot mode.
Example: Listing management consoles
The following command lists the management consoles and settings for all DS storage systems.
csmcli> lsmc -devtype ds -l
The following output is returned:
MC ID HMC:2002:90B:E006:222:9:11:223:2 MC IP address 2002:90b:e006:222:9:11:223:2 Local Server Connection Connected Location tucson