1 gnt-job(8) Ganeti | Version @GANETI_VERSION@
2 ============================================
12 **gnt-job** {command} [arguments...]
17 The **gnt-job** is used for examining and manipulating the job
28 This command can be used to archive job by their IDs. Only jobs
29 that have finished execution (i.e either *success*, *error* or
35 **autoarchive** {*age* | ``all``}
37 Archive jobs by their age. This command can archive jobs older than
38 *age* seconds, or alternatively all finished jobs can be archived
39 if the string all is passed.
46 Cancel the job identified by the given *id*. Only jobs that have
47 not yet started to run can be canceled; that is, jobs in either the
48 *queued* or *waiting* state.
55 Show detailed information about the given job id(s). If no job id
56 is given, all jobs are examined (warning, this is a lot of
62 **list** [--no-headers] [--separator=*SEPARATOR*]
65 Lists the jobs and their status. By default, the job id, job
66 status, and a small job description is listed, but additional
67 parameters can be selected.
69 The ``--no-headers`` option will skip the initial header line. The
70 ``--separator`` option takes an argument which denotes what will be
71 used between the output fields. Both these options are to help
74 The ``-o`` option takes a comma-separated list of output fields.
75 The available fields and their meaning are:
86 current priority of the job
89 the timestamp the job was received
92 the timestamp when the job was started
95 the timestamp when the job was ended
98 a summary of the opcodes that define the job
101 the list of opcodes defining the job
104 the list of opcode results
107 the list of opcode statuses
110 the list of opcode logs
113 the list of opcode start times (before acquiring locks)
116 the list of opcode execution start times (after acquiring any
120 the list of opcode end times
123 the priority of each opcode
126 If the value of the option starts with the character ``+``, the new
127 fields will be added to the default list. This allows to quickly
128 see the default list plus a few other fields, instead of retyping
129 the entire list of fields.
136 This command follows the output of the job by the given *id* and