A job launched by the srun command
can be interrupted by sending a signal to the command by issuing one
or more Ctrl/C key sequences. Signals sent to the srun command are automatically forwarded to the tasks that
it is controlling.
The Ctrl/C key sequence will
report the state of all tasks associated with the srun command. If the Ctrl/C key sequence is entered
twice within one second, the associated SIGINT signal
will be sent to all tasks. If a third Ctrl/C key
sequence is entered, the job will be terminated without waiting for
remote tasks to exit.
The Ctrl/Z key sequence is ignored.