HP StorageWorks Storage Mirroring for Linux User's Guide (T2558-96078, February 2008)

A - 7
GetEnvStr
Help
Limit Bandwidth
Command GETENVSTR
Description Retrieves an operating system environment variable and stores the value in a variable.
Syntax
GETENVSTR <env_variable> $<variable_name>
Options env_variable—The name of the operating system environment variable that you want to store in
the user defined variable
variable_name—The name of the variable you want to create. This variable will store the
operating system environment variable specified.
Examples
getenvstr computername $server
Notes It is not necessary for either the environment or DTCL variable to exist when using this command.
A non-existent environment variable will store a null string in the DTCL variable.
Command HELP
Description Displays the DTCL commands and their syntax
Syntax
HELP
Notes Press any key to scroll through the list of commands.
Press q to exit the help function.
You can also type DTCL help to display the DTCL commands and their syntax.
Command LIMIT BANDWIDTH
Description Sets bandwidth restrictions for transmitting data from the source to the target
Syntax
LIMIT BANDWIDTH <bytes>, <seconds> TO <target_machine>
Options bytes—Number of bytes to be transmitted
seconds—Maximum number of seconds to transmit the specified bytes
target_machine—Name of the target machine
Examples
limit bandwidth 19300, 1 to jersey
Notes Machine names that contain non-alphanumeric characters must be enclosed in quotation marks.