QMOD(1)
π QMOD(1) β modify a Grid Engine queue and running job π
okay bestie, welcome to qmod(1), straight out of the Grid Engine User Commands corner of the manual. this is the glow-up button for your queues and your jobs. let's go π«Ά
β¨ NAME β¨
qmod β modify a Grid Engine queue and running job
πΈ SYNTAX πΈ
qmod [options] [wc_job_range_list|wc_queue_list]
π¦ DESCRIPTION π¦
So here's the vibe: qmod lets users who are classified as owners of a workstation (peep queue_conf(5) for the deets on that) modify the state of Grid Engine queues for their own machine, plus the state of their own jobs. π
A manager/operator, or root, can run qmod for any queue and job in a cluster β but only from administrative hosts, no sneaking in from just anywhere. π
Want the full tea on wc_queue_list and wc_job_list? That's in sge_types(5), go look, iykyk.
β¨ OPTIONS β¨
-c,--clearβ Note: Deprecated, may be removed in future release. Please use the-cjor-cqswitch instead. Clears the error state of the specified job(s)/queue(s). (yes it's giving legacy, use the new ones bestie π)-cj,--clearjobβ Clears the error state of the specified job(s). π§Ή-cq,--clearqueueβ Clears the error state of the specified queue(s). π§Ή-d,--disableβ Disables the queue(s), i.e. no further jobs are dispatched to disabled queues, while jobs already executing in these queues are allowed to finish. so it's a soft β not a yeet.-e,--enableβ Enables the queue(s). the comeback era β¨-f,--forceβ Force the modification action for the queue despite the apparent current state of the queue. For example, if a queue appears to be suspended but the job execution seems to be continuing, the manager/operator can force a suspend operation on the jobs. In any case, the queue or job status will be set, even if thesge_execd(8)controlling the queues/jobs cannot be reached. Requires manager/operator privileges.-help,--helpβ Prints a listing of all options. (hi, that's this β¨)-r,--rescheduleβ Note: Deprecated, may be removed in future release. Please use the-rjor-rqswitch instead. If applied to queues, reschedules all jobs currently running in this queue. If applied to running jobs, reschedules the jobs. Requires root or manager privileges. In order for a job to be rescheduled, it, or the queue in which it is executing, must have thererunflag activated. (See the-roption in theqsub(1)man page and thererunoption in thequeue_conf(5)man page for more information.) Additional restrictions apply for parallel and checkpointing jobs. (See thereschedule_unknowndescription in thesge_conf(5)man page for details.)-rj,--reschedulejobβ If applied to running jobs, reschedules the jobs. Requires root or manager privileges.-rq,--reschedulequeueβ Reschedules all jobs currently running in the specified queues. Requires root or manager privileges.-s,--suspendβ Note: Deprecated, may be removed in future release. Please use the-sjor-sqswitch instead. If applied to queues, suspends the queues and any jobs which might be active in them. If applied to running jobs, suspends the jobs.-sj,--suspendjobβ If applied to running jobs, suspends the jobs. If a job is both suspended explicitly and via suspension of its queue, a subsequent unsuspend of the queue will not release the suspension state on the job. (sneaky double-suspend behaviour, noted π)-sq,--suspendqueueβ Suspends the specified queues and any jobs which might be active in them.-us,--unsuspendβ Note: Deprecated, may be removed in future release. Please use the-usjor-usqswitch instead. If applied to queues, unsuspends the queues and any jobs which might be active in them. If applied to jobs, unsuspends the jobs.-usj,--unsuspendjobβ Unsuspends the specified jobs. If a job is both suspended explicitly and via suspension of its queue, a subsequent unsuspend of the queue will not release the suspension state on the job. (same energy as-sj, just in reverse π)-usq,--unsuspendqueueβ Unsuspends the specified queues and any jobs which might be active in them.
π ENVIRONMENT VARIABLES π
SGE_ROOTβ Specifies the location of the Grid Engine standard configuration files.SGE_CELLβ If set, specifies the default Grid Engine cell. To address a Grid Engine cellqmoduses (in the order of precedence):- The name of the cell specified in the environment variable
SGE_CELL, if it is set. - The name of the default cell, i.e.
default.
- The name of the cell specified in the environment variable
SGE_DEBUG_LEVELβ If set, specifies that debug information should be written tostderr. In addition the level of detail in which debug information is generated is defined. πSGE_QMASTER_PORTβ If set, specifies the tcp port on whichsge_qmaster(8)is expected to listen for communication requests. Most installations will use a services map entry for the service"sge_qmaster"instead to define that port.
π FILES π
<sge_root>/<cell>/common/act_qmasterβ Grid Engine master host file
β SEE ALSO β
sge_intro(1), sge_ckpt(1), qstat(1), queue_conf(5), sge_execd(8), sge_types(1).
π COPYRIGHT π
See sge_intro(1) for a full statement of rights and permissions.
and that's the whole page bestie, you ate that π this was the SGE 8.1.3pre era, dated 2011-05-20, and it lives in section QMOD(1) of the Grid Engine User Commands manual. go forth and modify ur queues, ily π«Άβ¨
π¦ where this page comes from
- debian bookworm: gridengine-client 8.1.9+dfsg-10+b1 Β· SISSL
- debian trixie: gridengine-client 8.1.9+dfsg-13.1 Β· SISSL
- ubuntu jammy: gridengine-client 8.1.9+dfsg-10build1 Β· SISSL
- ubuntu noble: gridengine-client 8.1.9+dfsg-11build3 Β· SISSL
- ubuntu questing: gridengine-client 8.1.9+dfsg-13.1
- ubuntu resolute: gridengine-client 8.1.9+dfsg-13.2 Β· SISSL
- ubuntu stonking: gridengine-client 8.1.9+dfsg-13.2ubuntu1 Β· SISSL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms