qsig(1B)
π NAME π
okay so this is the tea, bestie: qsig is literally here to signal pbs batch job. The manual name is qsig(1B) β and yes, she's iconic, I'm obsessed, no notes. π
π¦ SYNOPSIS π¦
qsig [-s signal] job_identifier ...
β¨ DESCRIPTION β¨
The qsig command is like, βhey server, please send a signal to the executing batch jobs.β The signal gets sent to the session leader of the job. That's the main character of this operation, periodt. β¨
If the -s option is not specified, SIGTERM is sent. Default behavior, slay. π
The request to signal a batch job will be rejected if:
- The user is not authorized to signal the job.
- The job is not in the running state.
- The requested signal is not supported by the system upon which the job is executing.
The qsig command sends a Signal Job batch request to the server which owns the job. That's the whole vibe: it's not doing the signal itself, it's asking the server that owns the job. No cap. iykyk. π«Ά
πΈ OPTIONS πΈ
-ssignal β declares which signal is sent to the job.
The signal argument is either a signal name, e.g. SIGKILL, the signal name without the SIG prefix, e.g. KILL, or an unsigned signal number, e.g. 9.
The signal name SIGNULL is allowed; the server will send signal 0 to the job, which will have no effect on the job, but will cause an obituary to be sent if the job is no longer executing. π
Not all signal names will be recognized by qsig. If it doesn't recognize the signal name, try issuing the signal number instead.
Two special signal names, "suspend" and "resume", are used to suspend and resume jobs. Cray systems use the Cray-specific suspend()/resume() calls.
On non-Cray system, suspend causes a SIGTSTP to be sent to all processes in job's top task, wait 5 seconds, and then send a SIGSTOP to all processes in all tasks on all nodes in the job. This differs from TORQUE 2.0.0 which did not have the ability to propogate signals to sister nodes. resume sends a SIGCONT to all processes in all tasks on all nodes.
When suspended, a job continues to occupy system resources but is not executing and is not charged for walltime. The job will be listed in the "S" state. Manager or operator privilege is required to suspend or resume a job.
Note that interactive jobs may not resume properly because the top-level shell will background the suspended child process. π
π OPERANDS π
qsig accepts one or more job_identifier operands of the form:
sequence_number[.server_name][@server]
π STANDARD ERROR π
The qsig command will write diagnostic messages to standard error for each error occurrence. So if something goes wrong, it's gonna tell you, bestie. π«Ά
β EXIT STATUS β
Upon successful processing of all the operands presented to the qsig command, the exit status will be a value of zero. Slay, ate, no crumbs. 0οΈβ£
If the qsig command fails to process any operand, the command exits with a value greater than zero. Not slay, but useful. π
π SEE ALSO π
qsub(1B)pbs_sigjob(3B)pbs_resources_*(7B)where*is system type- and the PBS ERS.
π okay that's the whole manual, bestie β brought to you by the Local source and the qsig(1B) version. The footer didn't give us a date, so no invented date tea from me. πβ¨
π¦ where this page comes from
- epel 9: torque-client 6.1.3-8.el9 Β· OpenPBS and TORQUEv1.1
- nixos 26.05: torque 6.1.3h2
- nixpkgs unstable: torque 6.1.3h2
- Copyright (c) 1999-2000 Veridian Information Solutions, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms