lshost
You can use the lshost command
to lists all hosts available on specific storage devices.
Syntax

>>-perfcli-- --lshost-- --+----------------+-------------------->
'--id----id---- -'
>--+------------------+----------------------------------------><
'-wwpn--+- [...]-+-'
'--------'
Parameters
- - id id
- An optional parameter that specifies the device that will have the hosts
assigned to them. The device ID is the nickname or model-serial-manufacturer
(for example, ESS2105-123123-IBM). Separate multiple device names by commas
with no white space before or after each comma. All devices must be of the
same device type.
- wwpn [ . . . ] | -
- An optional parameter that lists information only for the host names
(the world-wide port number) specified. Separate multiple host names with
a white space between each name. Alternatively, use the dash (-) to specify
that input for this parameter comes from an input stream (stdin). If no host
name is specified, all host names are displayed.
Description
You can use the lshost command to lists all hosts
available on specific storage devices.
Return values
One of the following types of information is returned:
- No hosts matching the criteria specified were found.
- When the command is successful, the following information displays:
- Device ID
- Host name (the world-wide port number)
Examples
An invocation example:
perftool> lshost
The resulting output:
Device ID WWPN
====================================
2105-2105.26357-IBM 5005076300CDA48D
2105-2105.26357-IBM 5005076300CAA48D
2105-2105.26357-IBM 5005076300C1A48D
2105-2105.26357-IBM 5005076300C2A48D
2105-2105.26357-IBM 5005076300C6A48D
2105-2105.26357-IBM 5005076300CEA48D