TotalView User Guide : Part IV: Advanced Tools, Configuration, and Customization : Setting Up MPI Debugging Sessions : Sun MPI Applications : Attaching to a Sun MPI Job
Attaching to a Sun MPI Job
To attach to an already running mprun job:
1 Find the host name and process identifier (PID) of the mprun job by typing mpps -b. For more information, see the mpps(1M) manual page.
The following is sample output from this command:
JOBNAME MPRUN_PID MPRUN_HOST
cre.99 12345 hpc-u2-9
cre.100 12601 hpc-u2-8
2 After selecting File > New Program, type mprun in the Executable field and type the PID in the Process ID field.
CLI: dattach mprun mprun-pid
For example:
     dattach mprun 12601
3 If TotalView is running on a different node than the mprun job, enter the host name in the Remote Host field.
CLI: dattach -r host-name mprun mprun-pid