File: condor_suspend.rst

package info (click to toggle)
condor 23.9.6%2Bdfsg-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 60,012 kB
  • sloc: cpp: 528,272; perl: 87,066; python: 42,650; ansic: 29,558; sh: 11,271; javascript: 3,479; ada: 2,319; java: 619; makefile: 615; xml: 613; awk: 268; yacc: 78; fortran: 54; csh: 24
file content (76 lines) | stat: -rw-r--r-- 2,341 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
      

*condor_suspend*
=================

suspend jobs from the HTCondor queue
:index:`condor_suspend<single: condor_suspend; HTCondor commands>`\ :index:`condor_suspend command`

Synopsis
--------

**condor_suspend** [**-help | -version** ]

**condor_suspend** [**-debug** ] [
**-pool** *centralmanagerhostname[:portnumber]* |
**-name** *scheddname* ] | [**-addr** *"<a.b.c.d:port>"*] **

Description
-----------

*condor_suspend* suspends one or more jobs from the HTCondor job queue.
When a job is suspended, the match between the *condor_schedd* and
machine is not been broken, such that the claim is still valid. But, the
job is not making any progress and HTCondor is no longer generating a
load on the machine. If the **-name** option is specified, the named
*condor_schedd* is targeted for processing. Otherwise, the local
*condor_schedd* is targeted. The job(s) to be suspended are identified
by one of the job identifiers, as described below. For any given job,
only the owner of the job or one of the queue super users (defined by
the :macro:`QUEUE_SUPER_USERS` macro) can suspend the job.

Options
-------

 **-help**
    Display usage information
 **-version**
    Display version information
 **-pool** *centralmanagerhostname[:portnumber]*
    Specify a pool by giving the central manager's host name and an
    optional port number
 **-name** *scheddname*
    Send the command to a machine identified by *scheddname*
 **-addr** *"<a.b.c.d:port>"*
    Send the command to a machine located at *"<a.b.c.d:port>"*
 **-debug**
    Causes debugging information to be sent to ``stderr``, based on the
    value of the configuration variable :macro:`TOOL_DEBUG`.
 *cluster*
    Suspend all jobs in the specified cluster
 *cluster.process*
    Suspend the specific job in the cluster
 *user*
    Suspend jobs belonging to specified user
 **-constraint** *expression*
    Suspend all jobs which match the job ClassAd expression constraint
 **-all**
    Suspend all the jobs in the queue

Exit Status
-----------

*condor_suspend* will exit with a status value of 0 (zero) upon
success, and it will exit with the value 1 (one) upon failure.

Examples
--------

To suspend all jobs except for a specific user:

.. code-block:: console

    $ condor_suspend -constraint 'Owner =!= "foo"'

Run *condor_continue* to continue execution.