>>- svcinfo -- -- lshost -- ------------------------------------> >--+--------------------------------+-- --+----------+-- -------> '- -filtervalue -- attrib=value -' '- -nohdr -' >--+-----------------------+-- --+-------------+-- -------------> '- -delim -- delimiter -' +- object_id -+ '- name ------' >--+-----------------+----------------------------------------->< '- -filtervalue? -'
| Note: If there is no data to be displayed (for example, an empty view has been returned), then headings are not displayed irrespective of whether the -nohdr option was used or not. |
This command will return a concise list or a detailed view, of hosts visible to the cluster.
The following list provides possible values that are applicable to the
attributes that are displayed as data in the output views:
status offline, online, degraded, degraded (offline)
A concise invocation example
svcinfo lshost -delim :
The concise resulting output
id:name:port_count 0:hhost1port:1 1:hhost3ports:3 2:hhost:1
A detailed invocation example
svcinfo lshost -delim : 1
The detailed resulting output
id:1 name:hhost3ports port_count:3 WWPN:00000000000000AB port_logged_in_count:0 WWPN:00000000000000AC port_logged_in_count:0 WWPN:00000000000000AD port_logged_in_count:0