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 core-files -e executable
If TotalView is not yet running, you can also provide the core file as a startup argument, like so:
totalview executable core-files [ options ]
Open a replay recording session file
dattach -c recording-file -e executable
If TotalView is not yet running, you can also provide the replay recording session file as a startup argument, like so:
totalview executable recording-file [ 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"