qhold(1B)

πŸ“¦ version 6.1.3, in epel 9

πŸ¦‹ qhold(1B) β€” the PBS hold-job bestie πŸ¦‹

🌸 NAME 🌸

qhold β€” hold pbs batch jobs.

πŸ’– SYNOPSIS πŸ’–

qhold [-h hold_list] [-t array_range] job_identifier ...

✨ DESCRIPTION ✨

Okay bestie, so qhold asks a server to place one or more holds on a job. A job that has a hold is not eligible for execution β€” literally not invited to the run party. There are three supported holds: USER, OTHER (also known as operator), and SYSTEM.

A user may place a USER hold upon any job the user owns. An "operator", who is a user with "operator privilege", may place either a USER or an OTHER hold on any job. The batch administrator may place any hold on any job. πŸ‘‘

If no -h option is given, the USER hold will be applied to the jobs described by the job_identifier operand list.

If the job identified by job_identifier is in the queued, held, or waiting states, then all that occurs is that the hold type is added to the job. The job is then placed into held state if it resides in an execution queue.

If the job is in running state, then the following additional action is taken to interrupt the execution of the job. If checkpoint / restart is supported by the host system, requesting a hold on a running job will:

  1. cause the job to be checkpointed,
  2. release the resources assigned to the job, and
  3. place the job in the held state in the execution queue.

If checkpoint / restart is not supported, qhold will only set the requested hold attribute. This will have no effect unless the job is rerun with the qrerun command. 😭

The qhold command sends a Hold Job batch request to the server as described in the general section.

πŸŽ€ OPTIONS πŸŽ€

  • -h hold_list β€” defines the types of holds to be placed on the job. The hold_list argument is a string consisting of one or more of the letters "u", "o", or "s" in any combination. The hold type associated with each letter is:
    • u β€” USER
    • o β€” OTHER
    • s β€” SYSTEM
  • -t array_range β€” the array_range argument is an integer id or a range of integers. Multiple ids or id ranges can be combined in a comma-delimited list. Examples: -t 1-100 or -t 1,10,50-100. If an array range isn't specified, the command tries to operate on the entire array. The command acts on the array (or specified range of the array) just as it would on an individual job.

🫢 OPERANDS 🫢

The qhold command accepts one or more job_identifier operands of the form:

sequence_number[.server_name][@server]

😭 STANDARD ERROR 😭

The qhold command will write a diagnostic message to standard error for each error occurrence. So yeah, if it hits an error, it tells you on stderr β€” once per error occurrence, bestie.

πŸ”₯ EXIT STATUS πŸ”₯

Upon successful processing of all the operands presented to the qhold command, the exit status will be a value of zero.

If the qhold command fails to process any operand, the command exits with a value greater than zero.

🌈 SEE ALSO 🌈

Go peek at: qrls(1B), qalter(1B), qsub(1B), pbs_alterjob(3B), pbs_holdjob(3B), pbs_rlsjob(3B), pbs_job_attributes(7B), pbs_resources_unicos8(7B).

Okay that's the whole page β€” footer says Local and qhold(1B), so that's the cute sign-off, bestie πŸ’–

πŸ“¦ where this page comes from
  • epel 9: torque-client 6.1.3-8.el9 Β· OpenPBS and TORQUEv1.1
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms