Unattached Page
Contains a list of all processes. Processes to which TotalView is already attached are shown in gray. The processes displayed in black are not currently running under TotalView's control. To attach TotalView to any of these processes, just double-click (or dive) on the process's line in this window.
If you wish to attach to a multiprocess program, you can either pick up the processes one at a time or you can restart the program under TotalView control so that the processes are automatically picked up as they are forked. In most cases, this requires you to link your program with the dbfork library. This is discussed in Chapter 8 of the TotalView Reference Guide.
If the process you are diving into is one member of a collection of related processes created with fork() calls, TotalView asks if you want to also attach to all of its relatives. If you answer yes, TotalView attaches to all the process's ancestors, descendants, and cousins.
You can control how TotalView attaches to processes by using the commands in the Parallel Page within the File > Preferences dialog box.
Note: If some of the processes in the collection have called exec(), TotalView tries to determine what the new executable file for the process. If TotalView appears to read the wrong file, you should start over, compile the program using the dbfork library, and start the program under TotalView's control.
The information on the Unattached Page has in three columns:
- The operating system program ID.
- A letter indicating the program's state, as follows:
|
Definition |
| I (Idle) |
Process has been idle or sleeping for more than 20 seconds. |
| R (Running) |
Process is running or can run. |
| S (Sleeping) |
Process has been idle or sleeping for less than 20 seconds. |
| T (Stopped) |
Process is stopped. |
| Z (Zombie) |
Process is a "zombie"; that is, it is a child process that has terminated and is waiting for its parent process to gather its status. |
- The name of the executing process. Notice that TotalView indents names of these processes. This indentation indicates the parent/child relationship within the UNIX process hierarchy.
If you have attached to processes on more than one processor, TotalView groups this information by the processor upon which it is running.
Related topics are: