Totalview® User Guide : PART II Debugging Tools and Tasks : Chapter 5 Loading and Managing Sessions : Setting up Debugging Sessions : Loading Programs Using the CLI
Loading Programs Using the CLI
When using the CLI, you can load programs in a number of ways. Here are a few examples.
Load a session
dsession -load session_name
If the preference "Show the Startup Parameters dialog on startup" is selected, this command launches the Sessions Manager so you can edit session properties; otherwise, it loads the session directly into Totalview and launches the Process and Root windows.
Start a new process
dload -e executable
Open a core file
dattach -c corefile -e executable
If TotalView is not yet running, you can also provide the core file as a startup argument, like so:
totalview filename corefile [ options ]
Open a replay recording session file
dattach -c replayRecordingSessionFile -e executable
If TotalView is not yet running, you can also provide the replay recording session file as a startup argument, like so:
totalview filename replayRecordingSessionFile [ options ]
Load a program using its process ID
dattach executable pid
Load a program on a remote computer
dload executable -r hostname
You can type the computer’s name (for example, gandalf.roguewave.com) or an IP address.
Load a poe program
dload -mpi POE -np 2 -nodes \
      -starter_args
"hfile=~/my_hosts"
 
RELATED TOPICS 
CLI commands
"CLI Commands" in the TotalView Reference Guide
Using the CLI