If a program you’re testing is hung or looping (or misbehaving in some other way), you can attach to it while it is running. TotalView lets you attach to single and multi-process programs, and these programs can be running remotely.
To attach to a process, select the Attach to an existing process item within the Program Page in the
File > New Program command.
While you must link programs that use fork() and
execve() with the TotalView dbfork library so that TotalView can automatically attach to them when your program creates them, programs that you attach to need not be linked with this library.