Adaptec 5405Z User Guide - Page 11

Using the Command Line Utility

Page 11 highlights

Using the Command Line Utility 2 In this chapter... ARCCONF Commands ...12 This chapter explains how to use the command line utility interactively or in batch mode. With interactive mode, enter commands at the prompt. In batch mode, create scripts and run the script in the appropriate shell. For example: Environment Windows Linux/Unix Batch File .bat .sh Run Script CMD.EXE sh / bash In either mode, if your command fails, you immediately see an error message of Command failed. Other script messages that you can get are Command completed successfully, or Command aborted. The return values for each command are the same: 0x00: SUCCESS 0x01: FAILURE - The requested command failed 0x02: ABORT - The command was aborted because parameters failed validation 0x03: INVALID_ARGUMENTS - The arguments are incorrect. (Displays COMMAND help) Available commands are described on the following pages, in alphabetical order. To access a list of commands, type ARCCONF and press Enter. To access the online help for a specific command, type ARCCONF , then press Enter.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27

2
Using the Command Line Utility
In this chapter...
ARCCONF Commands
.........................................................................................................
12
This chapter explains how to use the command line utility interactively or in batch mode. With
interactive mode, enter commands at the prompt. In batch mode, create scripts and run the
script in the appropriate shell. For example:
In either mode, if your command fails, you immediately see an error message of Command
failed. Other script messages that you can get are Command completed successfully, or
Command aborted.
The return values for each command are the same:
0x00: SUCCESS
0x01: FAILURE - The requested command failed
0x02: ABORT - The command was aborted because parameters failed validation
0x03: INVALID_ARGUMENTS - The arguments are incorrect. (Displays COMMAND help)
Available commands are described on the following pages, in alphabetical order. To access a list
of commands, type
ARCCONF
and press
Enter
.
To access the online help for a specific command, type
ARCCONF
<
command
>, then press
Enter
.
Environment
Batch File
Run Script
Windows
.bat
CMD.EXE
Linux/Unix
.sh
sh / bash