30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

c<br />

h<br />

a<br />

p<br />

t<br />

e<br />

r<br />

Using the CLI<br />

10<br />

The two components of the Command Line Interface (CLI) are the<br />

Tcl-based programming environment and the commands added to<br />

the Tcl interpreter that lets you debug your program. This chapter<br />

looks at how these components interact, and describes how you<br />

specify processes, groups, and threads.<br />

This chapter emphasizes interactive use of the CLI rather than using<br />

the CLI as a programming language because many of its concepts<br />

are easier to understand in an interactive framework. However,<br />

everything in this chapter can be used in both environments.<br />

This chapter contains the following sections:<br />

� “About the Tcl and the CLI” on page 199<br />

� “Starting the CLI” on page 201<br />

� “About CLI Output” on page 205<br />

� “Using Command Arguments” on page 206<br />

� “Using Namespaces” on page 207<br />

� “About the CLI Prompt” on page 207<br />

� “Using Built-in and Group Aliases” on page 208<br />

� “How Parallelism Affects Behavior” on page 209<br />

� “Controlling Program Execution” on page 210<br />

About the Tcl and the CLI<br />

The CLI is built in version 8.0 of Tcl, so <strong>TotalView</strong> CLI commands are built<br />

into Tcl. This means that the CLI is not a library of commands that you can<br />

bring into other implementations of Tcl. Because the Tcl you are running is<br />

<strong>TotalView</strong> <strong>Users</strong> <strong>Guide</strong>: version 8.7 199

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!