User-defined group script (usergrp), Usergrp usage, Usergrp sample output – HP XP Performance Advisor Software User Manual
Page 58

User-defined group script (USERGRP)
This script enables you to create, list, and remove user-defined groups.
USERGRP usage
Following is the general format of the command to invoke the script:
usergrp [-auth
–items
Required arguments:
–items
Indicates that a new user-defined group is to be created. A name is required with this option. It is
followed by a csv list of items to be added to this group. Each item is in the form dkc+host::ldevlist,
where: dkc+host is a DKC and host combination.
ldevlist consists of LDEVs separated by a plus (+) character or LDEV ranges (2 LDEVs separated
by a hyphen [-]). The –items cannot be used with -list, -details, or –rem.
–list
Lists all the groups. Cannot be used with -name, -details, or -items.
–details
Shows the details for one group. Either –name or –gid is required.
–rem
Removes a particular user-defined group. Either –name or –gid is required.
Optional arguments:
–name
The name of the group to define or list details.
–gid
The ID number for this group.
–ms
URL of the management station.
–auth
The username and password.
–pf
Can be used in place of –auth.
NOTE:
The password file must be created using the encrypt command only.
–d
The delimiter for delimited display.
–L
Shows column headers with the delimiter.
–hr
Displays human-readable output.
–?
Prints the usage statement.
USERGRP 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 an array is connected to a host agent that is running on the HP-UX 11i v3 operating system, the DSF
(device special file) is displayed in a new format. A legacy DSF is displayed in parenthesis next to
the new format.
58
Reporting and configuring CLUI shell scripts