Working with 3ware CLIwww.3ware.com 8//localhost>3 At the CLI prompt, you can enter commands to show or act on 3warecontrollers, units, and drives.For example,//localhost> showdisplays all controllers in the system and shows summary informationabout them, like this:Ctl Model Ports Drives Units NotOpt RRate VRate BBU------------------------------------------------------------c0 9690SA-4I4E 4 12 2 0 1 1 -c1 9650SE-4 4 4 1 0 3 5 TESTINGc2 7500-12 12 8 3 1 2 - -Using a single command with outputYou can use 3ware CLI with line arguments, processing a single command ata time. To do so, simply enter the command and the arguments.Single commands can be useful when you want to perform a task such asredirecting the output of the command to a file. It also allows you to use thecommand line history to eliminate some typing.Syntaxtw_cli Exampletw_cli /c0 show diag > /tmp/3w_diag.outUsing an input file to execute a scriptYou can operate 3ware CLI scripts by executing a file. The file is a text filecontaining a list of CLI commands which you have entered in advance. Eachcommand must be on a separate line.Syntaxtw_cli -f Where is the name of the text file you want to execute.Exampletw_cli -f clicommand.txtThis example executes the file clicommand.txt, and runs the CLI commandsincluded in that file.