a
amdsp(1M)
amdsp(1M)
-s
Display disk array state information. This includes cache settings for the disk array.
-S
Raw output display. Data is output as a colon-delimited ASCII text string. Raw out-
put format is near the end of this page.
-V
Verbose mode displays additional command execution, state, and/or status messages.
-?
Display extended usage message. This option overrides all others.
SECURITY CONFIGURATION
This command is modified for all security configurations.
Security Behavior/Restrictions
Use of this command is restricted to authorized users only.
Command Authorizations
This command requires the
sysadmin
authorization to successfully execute.
Privileges
The command has been modified to support least privilege. The potential privileges possessed by the com-
mand and their uses include:
allowdacread
This privilege is raised to provide discretionary read access to the devices.
allowdacwrite
This privilege is raised to provide discretionary write access to the devices.
allowmacread
This privilege is raised to provide mandatory read access to the devices.
allowmacwrite
This privilege is raised to provide mandatory write access to the devices.
filesysops
This privilege is raised to allow the mknod(2) system call to succeed.
writeaudit
The command generates its own audit records and submits these directly to the sys-
tem audit trail. This privilege is raised whenever the command needs to write an
audit record.
EXTERNAL INFLUENCES
Environment Variables
LC_MESSAGES
determines the language in which messages are displayed. The current language settings
can be checked with locale(1).
RETURN VALUE
amdsp
returns the following values:
0
Successful completion.
1
An error in execution (I/O, subsystem, security, etc.) occurred.
2
An error in command syntax occurred: for example, an unknown command-line option was
passed.
3
Timeout in communication to server. May indicate
AM60Srvr
is not running.
DIAGNOSTICS
The following messages can be generated by
amdsp
:
Usage: amdsp [-l [LUN] | -d | -g | -c |
-s | -h | -r | -a | -A]
[-V] [-S] <ArrayID>
amdsp {-i | -R} [-V] [-S]
amdsp -p [-V] [-S] <DeviceFile>
Extended help: amdsp -?
An error in command syntax has occurred. Reenter the command with all necessary arguments.
amdsp: Arg out of range
One of the arguments has exceeded its maximum or minimum size, or is incorrect in form. Check the
size and form of each argument.
amdsp: The <ArrayID> entered does not identify a known, supported array
50
Hewlett-Packard Company
−
2
−
HP-UX 11i Version 2: December 2007 Update