TORQUE Resource Manager

TORQUE Commands - qsig

qsig

(signal a job)

Synopsis

qsig [{-s <SIGNAL>}] <JOBID>[ <JOBID>] ...

Overview

The qsig command requests that a signal to be sent to a running job.

Format

Name Format Default Description Example
-s <STRING> (signal) SIGTERM Declares which signal is sent to the running job. The signal argument is either a signal name, e.g. SIGKILL, the signal name without the SIG prefix, e.g. KILL, or a unsigned signal number, e.g. 9. The signal name SIGNULL is allowed. qsig -s KILL 15406
 

Command Details

   The qsig command requests that a signal be sent to executing batch jobs.  The signal is sent to the session leader of the job.  A signal can only be sent to a job that is in the running state.  Specifying SIGNULL will cause the signal 0 to be sent to the job which will have no effect on the job, but will cause a job obituary to be sent if the job is no longer executing. 

Examples

> qsig -s SIGKILL 3233     send a SIGKILL to job 3233
> qsig -s KILL 3233        send a SIGKILL to job 3233
> qsig -s 9 3233           send a SIGKILL to job 3233