Totalview® Reference Guide : PART I CLI Commands : Chapter 2 CLI Commands : Command Overview : dwait
dwait
Blocks command input until the target processes stop
Format 
dwait
Arguments 
This command has no arguments
Description 
The dwait command waits for all threads in the current focus to stop or exit. Generally, this command treats the focus the same as other CLI -commands.
If you interrupt this command—typically by entering Ctrl+C—the CLI manually stops all processes in the current focus before it returns.
Unlike most other CLI commands, this command blocks additional CLI input until the blocking action is complete.
Examples 
dwait
Blocks further command input until all processes in the current focus have stopped (that is, none of their threads are still running).
dfocus {p1 p2} dwait
Blocks command input until processes 1 and 2 stop.