HP StorageWorks Command View SDM Installation and User Guide (T1086-96023, February 2005)

108 Command Line User Interface
-cf <filename> Identifies the file that contains the command descriptor block (CDB). The CDB
is specified in hex values (e.g. 0xa0) and defines the operation the array will
perform.
-Cf filename Identifies the file to which the core data (~48 MB) is sent. If not specified, the
core data is sent to standard out.
NOTE: When using the -Core option within armshell, the -Cf option should
always be used. Using armdiag -Core without the -Cf switch will result in
unpredictable behavior. Standard out will be receiving raw data that
includes control characters, which may cause armshell to exit or exhibit other
unusual behavior.
-d <data> The data to write to the array specified in hex values (e.g. 0xa0). If the
command returns data from the array, the data will be sent to standard out in
both hex and ASCII.
-df <filename> Identifies the file used to transfer data to or from the array. When writing data
to the array, the data will be in hex values (e.g. 0xa0). When reading data
from the array, the data will contain both hex and ASCII values. The specified
file will be created automatically to store data returned from the array.
-dir <direction> Defines the data transfer involved in the command: DATA_IN, DATA_OUT, or
NO_DATA. The value depends on the accompanying CDB.
DATA_IN - the CDB is expecting data to be returned from the array
DATA_OUT - the CDB will send data to the array
NO_DATA - the CDB requires no data
-f <FRULocation> Identifies the FRU to which the pass-through command will be sent.
FRULocation can be determined using the armdsp -f command.
-i <iteration> An integer value that specifies how many times to send the command. If not
specified, the command will be sent one time.
-I Executes a predefined set of commands and outputs the results. The results will
be displayed on the standard out device, unless the -if option is included.
The commands invoked by the -I option are contained in a file named
info.data, which resides in the /sanmgr/commandview/clients/config
directory.
-if <filename> Stores the results of the -I option in the file specified by <filename>. The
information is stored using a zip compression algorithm. The .zip extension
will be added automatically to the file name.
Each command executed will have a separate file entry, with the exception of
armlog -d. All armlog -d commands will be stored in a single file entry.