3PAR InForm® OS 2.2.4 CLI Administrator's Manual (320-200113 Rev A, March 2009)

3.3
Global Options and Environment Variables
InForm OS Version 2.2.4 3PAR InForm OS CLI Administrator’s Manual
3.2 Global Options and Environment Variables
Global options are provided to help configure the CLI and control the operation of the InServ
Storage Server. Environment variables are provided to customize the CLI. The global CLI
options and environment variables are listed in Table 3-1.
You can use the global options with the CLI program and individual CLI commands.
When used with the CLI program, global options remain in effect until you exit the Tcl
shell (refer to 3.3 Stand-alone Commands on page 3.19 for information about the Tcl
shell). The following example displays the
–sys option used with the CLI program for a
system named
betasystem1:
When used with individual commands, global options are in effect only for that
command. The following example displays the
–pwf option used with the showsysmgr
CLI command:
Global options, when used, override environment variables.
You can use environment variables when configuring the CLI. To set an environment
variable, see 2.2.5 Changing Temporary Space Location on page 2.6.
$ cli –sys betasystem1
$ showsysmgr –pwf ~/my–pwfile
NOTE: Global options cannot be specified on the command line for commands
issued from a Tcl shell. Global options must be specified before starting a Tcl shell.
NOTE: Environment variables can only be used if the CLI is set up remotely.
Environment variables cannot be used if you are accessing the CLI through SSH.