3 reporting and configuring clui shell scripts, External storage script (ext-lun), Ext-lun usage – HP XP Performance Advisor Software User Manual
Page 15: Ext-lun sample output

3 Reporting and configuring CLUI
shell scripts
The supported shell scripts enable you to use the CLUI easily. Each CLUI script is provided with a shell
script, except for the version and encrypt scripts. Following are the CLUI shell scripts:
External storage script (Ext-Lun)
The report CLUI application provides a script that displays the Ext-Lun data. The –dkc switch is a required
element. Optionally, you can specify a management station by using ms <URL>, and specify a username
and password pair by using –auth <user:passwd>. You can use –pf <password file> in place of
–auth. You can also use Ext-Lun to create a custom group.
Ext-Lun usage
Following is the general format of the command to invoke the script:
elun [-d<delim>] [-L] [-hr] [-ms <URL>] [-auth <user:passwd>] -dkc <serial
#> [-?]
where:
–d <delim>
An optional parameter used to specify delimited output data. There is no space between
d and the delimiter character.
–L
An optional parameter used to specify labeled and delimited output data.
–hr
An optional parameter used to request the data in a human-readable format.
–ms <URL>
The address of a management station in the form
–auth
<user:passwd>
A username and password pair in the form username:password.
<serial #>
The array serial number.
–?
Prints the usage statement.
Ext-Lun sample output
The following are output data samples for the CLUI shell script described in the previous section:
NOTE:
Labels in labeled outputs (specified by –hr or –L in the command line) are in bold. If the external array is a
non-XP array, E-Seq is <Vendor ID>:<Produce ID> and E-LDEV is ’-1’.
elun -dkc 10033
0:01, CL1C, 20074, 1:01
0:02, CL1C, 20074, 1:02
0:03, CL1C, 20074, 1:03
0:04, CL2C, 20074, 1:04
0:05, CL1C, 20074, 1:05
0:05, CL2C, 20074, 1:05
elun -dkc 10033 hr
HP StorageWorks Performance Advisor XP Software command-line user interface user guide
15