HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

Fabric OS 5.0.0 command reference guide 141
Diagnostic debug parameters management package.
Synopsis
diagsetdebug value
diagdebughelp
diagsetdebugnoncheck value
diagsetdebugnorestore value
diagsetfaillimit value
diagsetfrcerr value
diagshowusr
... more commands ...
Availability
admin
Description
All of diagnostic parameters can be set either by running relevant user commands or by setting them
directly in some way. The latter method is supposed to be run only by in-house technicians but users.
Diagnostic parameters are used primarily for debugging purposes and users should not tamper with those
if not told so.
To display the values of diagnostic parameters, run diagshowusr as shown in the “Examples” section.
For a complete list of the diagenv commands, run diagdebughelp.
Each of these commands is an alias that evaluates the output of diagenv to set the diagnostic parameter
for the current shell. For example the following alias is created to implement diagsetdebug.
function diagsetdebug () { eval `diagenv write USR_DEBUG $*` }
These aliases are created by diagenv as well by including the following command in the shell start-up
script:
eval `diagenv alias`
For proper operation the output diagenv sends to stdout should be processed by the eval command to
set the appropriate variables.
CAUTION: Your use of the functionality made available through this package is at your sole risk and you
assume all liability resulting from such use.
NOTE: The effects of diagnostic parameters might be changed without notice.
Operands
This command has the following operand:
diagEnv
value Specify the value for the relevant diagnostic environment variable.