30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Killing (Deleting) Programs<br />

3 Continue execution of your program with commands such as Process ><br />

Go, Step, Next, or Detach.<br />

<strong>TotalView</strong> continues the threads and sends the specified signals to your process.<br />

To clear the continuation signal, select signal 0 from this dialog box.<br />

You can change the way <strong>TotalView</strong> handles a signal by setting the<br />

TV::signal_handling_mode variable in a .tvdrc startup file. For more information,<br />

see Chapter 4 of the “<strong>TotalView</strong> Reference <strong>Guide</strong>.”<br />

Killing (Deleting) Programs<br />

To kill (or delete) all the processes in a control group, use the Group > Kill<br />

command. The next time you start the program, for example, by using the<br />

Process > Go command, <strong>TotalView</strong> creates and starts a fresh master process.<br />

CLI: dfocus g dkill<br />

Restarting Programs<br />

You can use the Group > Restart command to restart a program that is running<br />

or one that is stopped but hasn’t exited.<br />

CLI: drerun<br />

If the process is part of a multi-process program, <strong>TotalView</strong> deletes all related<br />

processes, restarts the master process, and runs the newly created program.<br />

The Group > Restart command is equivalent to the Group > Kill command<br />

followed by the Process > Go command.<br />

<strong>TotalView</strong> <strong>Users</strong> <strong>Guide</strong>: version 8.7 243

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!