View Full Version : Does TotalView have a command-line (non-windowing) interface?

07-17-2006, 09:24 AM
You can invoke TotalView's command line interface, which is called the CLI, from within the GUI using the Tools > Command Line (http://www.etnus.com/Documentation/latest/html/wwhelp/wwhimpl/api.htm?href=Online_Help/ProcessToolsCommandLine.html) command. Or, you can invoke it from a shell using the totalviewcli command.

The TotalView CLI is integrated within version 8.4.7 of Tcl, which means that TotalView's CLI commands are built into a Tcl interpreter. Because TotalView's Tcl is the standard 8.4.7 version, the TotalView CLI supports all libraries and operations that run using version 8.4.7 of Tcl.

Integrating CLI commands into Tcl makes them intrinsic Tcl commands. This means that you can enter and execute CLI commands in exactly the same way as you enter and execute built-in Tcl functions such as file or array. It also means that you can embed Tcl primitives and functions within CLI commands that take arguments. Or, you can embed CLI commands within sequences of Tcl commands.

For example, you can create a Tcl list that contains a list of threads, use Tcl commands to manipulate that list, and then have a CLI command operate on the elements of this list. Or, you create a Tcl function that dynamically builds the arguments that a process will use when it begins executing.

The CLI is described in the "TotalView Users Guide" and the "TotalView Reference Guide." You can order this book from us or view online copies (http://www.etnus.com/Documentation/index.html).