The alias command associates a specified name with some defined text. This text can contain one or more commands. You can use an alias in the same way as a native TotalView or Tcl command. In addition, you can include an alias as part of the definition of another alias.
If you do not enter an alias-name argument, the CLI displays the names and definitions of all aliases. If you specify only an
alias-name argument, the CLI displays the definition of the alias.
Because the alias command can contain Tcl commands,
defn-body must comply with all Tcl expansion, substitution, and quoting rules.
The TotalView global startup file, tvdinit.tvd, defines a set of default one or two-letter aliases for all common commands. To see a list of these commands, type
alias with no argument in the CLI window.
Defines an alias called m that lists the source code of function
main().
Defines an alias called step2 that does two
dstep commands. This new command applies to the focus that exists when this alias is used.
Defines an alias called step1 that steps the first user thread in process 1. All other threads in the process run freely while TotalView steps the current line in your program.