Focus object, Commit, Focus – Avago Technologies 3ware SAS 9750-4i User Manual
Page 33: Object

Shell Object Commands
www.lsi.com/channel/products
25
focus
Object
The focus command is active in interactive mode only and is provided to
reduce typing.
The focus command will set the specified object in focus and change the
prompt to reflect this. This allows you to enter a command that applies to the
focus, instead of having to type the entire object name each time.
For example, where normally you might type:
/c0/u0 show
If you set the focus to
/c0/u0
, the prompt changes to reflect that, and you
only have to type
show
. The concept is similar to being in a particular location
in a file system and requesting a listing of the current directory.
object
can have the following forms:
/cx/ux
specifies the fully qualified URI (Universal Resource Identifier) of an
object on controller
cx
, unit
ux
.
..
specifies one level up (the parent object).
/
specifies the root
./object specifies the next level of the object.
/c0/bbu
specifies a relative path with respect to the current focused
hostname.
Example:
//localhost> focus /c0/u0
//localhost/c0/u0>
//localhost/c0/u0> focus..
//localhost/c0>
//localhost> focus u0
//localhost/c0/u0>
//localhost/c0> focus /
//localhost>
The focus command is available by default. You can disable focus by setting
TW_CLI_INPUT_STYLE to old. (See “Return Code” on page 141.)
commit
This command sends a commit command to all 3ware controllers in the
system. For more information, see “/cx commit” on page 63.