Using the CLI
To use the Command Line Interface (CLI), you need to be familiar with and have experience debugging programs with the TotalView GUI. CLI commands are embedded within a Tcl interpreter, so you get better results if you are also familiar with Tcl. If you don’t know Tcl, you can still use the CLI, but you lose the ability to program actions that Tcl provides; for example, CLI commands operate on a set of processes and threads. By using Tcl commands, you can save this set and apply this saved set to other commands.
The following books are excellent sources of Tcl information:
• Ousterhout, John K. Tcl and the Tk Toolkit. Reading, Mass.: Addison Wesley, 1997.
• Welch, Brent B. Practical Programming in Tcl & Tk. Upper Saddle River, N.J.: Prentice Hall PTR, 1999.
There is also a rich set of resources available on the Web.
The fastest way to gain an appreciation of the actions performed by CLI commands is to scan
“CLI Command Summary” of the
TotalView Reference Guide, which contains an overview of CLI commands.