When you are running a large MPI job, you may not want to TotalView to attach to each process as it starts. Instead, you may want to choose the processes to which TotalView should attach. This is exactly what the Group > Attach Subset command is for. Here's the dialog box displayed after you select this command:

Clicking on processes in the top part of dialog box changes the action from Attach to Detach or Detach to Attach. If the process is not yet started, TotalView will not attach to any process whose action is Detach. However, if TotalView is already attached to the process, it will detach itself from processes whose action is Detach.
The controls in the Filters area let you limit which processes TotalView automatically attaches to, as follows:
Many applications place values that indicate the rank in a variable so that the program can refer to them as they are needed. If you do this, you can display the variable in a Variable Window and then select the Tools > Attach Subset (Array of Ranks) command to display this dialog box.