Command Arguments
The default command arguments for a process are stored in the ARGS(num) variable, where # is the CLI ID for the process. If the ARGS(num) variable is not set for a process, the CLI uses the value stored in the ARGS_DEFAULT variable. ARGS_DEFAULT is set if you had used the -a option when starting the CLI or TotalView.
Note: The -a option tells TotalView to pass the information that follows to the program.
For example:
totalviewcli -a argument-1, argument-2, ...
To set (or clear) the default arguments for a process, you can use dset to modify the ARGS() variables directly, or you can start the process with the drun command. For example, here is how you can clear the default argument list for process 2:
dunset ARGS(2)
The next time process 2 is started, the CLI uses the arguments contained within ARGS_DEFAULT.
You can also use the dunset command to clear the ARGS_DEFAULT variable. For example:
dunset ARGS_DEFAULT
All commands (except drun) that create a process--including dgo, drerun, dcont, dstep, and dnext--pass the default arguments to the new process. The drun command differs in that it replaces the default arguments for the process with the arguments that are passed to it.