TotalView Online Help : Root Window : File Menu Commands : File > Attach to a Running Program : Searching for Processes
Searching for Processes
You can search for any process using the search box (). If found, the process will display in the program pane.
 
 
In some cases, the name provided to TotalView by your operating system may not be the actual name of the program. In this case, you will not be able to simply select the name and press the OK button. Instead, you should
*Determine what its actual name is by using a command such as ls in a shell window.
*Select the name as this will fill in much of the program’s name.
*Move to the File Name control, and type its actual name, then press the OK button.
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, discussed “Linking with the dbfork Library” in the TotalView Reference Guide.
If the process you are attaching to 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.
*If some of the processes in the collection have called exec(), TotalView tries to determine 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 control.