1QDEL(1P) POSIX Programmer's Manual QDEL(1P)
2
3
4
6 This manual page is part of the POSIX Programmer's Manual. The Linux
7 implementation of this interface may differ (consult the corresponding
8 Linux manual page for details of Linux behavior), or the interface may
9 not be implemented on Linux.
10
11
13 qdel — delete batch jobs
14
16 qdel job_identifier...
17
19 A batch job is deleted by sending a request to the batch server that
20 manages the batch job. A batch job that has been deleted is no longer
21 subject to management by batch services.
22
23 The qdel utility is a user-accessible client of batch services that
24 requests the deletion of one or more batch jobs.
25
26 The qdel utility shall request a batch server to delete those batch
27 jobs for which a batch job_identifier is presented to the utility.
28
29 The qdel utility shall delete batch jobs in the order in which their
30 batch job_identifiers are presented to the utility.
31
32 If the qdel utility fails to process any batch job_identifier success‐
33 fully, the utility shall proceed to process the remaining batch
34 job_identifiers, if any.
35
36 The qdel utility shall delete each batch job by sending a Delete Job
37 Request to the batch server that manages the batch job.
38
39 The qdel utility shall not exit until the batch job corresponding to
40 each successfully processed batch job_identifier has been deleted.
41
43 None.
44
46 The qdel utility shall accept one or more operands that conform to the
47 syntax for a batch job_identifier (see Section 3.3.1, Batch Job Identi‐
48 fier).
49
51 Not used.
52
54 None.
55
57 The following environment variables shall affect the execution of qdel:
58
59 LANG Provide a default value for the internationalization vari‐
60 ables that are unset or null. (See the Base Definitions vol‐
61 ume of POSIX.1‐2008, Section 8.2, Internationalization Vari‐
62 ables the precedence of internationalization variables used
63 to determine the values of locale categories.)
64
65 LC_ALL If set to a non-empty string value, override the values of
66 all the other internationalization variables.
67
68 LC_CTYPE Determine the locale for the interpretation of sequences of
69 bytes of text data as characters (for example, single-byte as
70 opposed to multi-byte characters in arguments).
71
72 LC_MESSAGES
73 Determine the locale that should be used to affect the format
74 and contents of diagnostic messages written to standard
75 error.
76
77 LOGNAME Determine the login name of the user.
78
80 Default.
81
83 An implementation of the qdel utility may write informative messages to
84 standard output.
85
87 The standard error shall be used only for diagnostic messages.
88
90 None.
91
93 None.
94
96 The following exit values shall be returned:
97
98 0 Successful completion.
99
100 >0 An error occurred.
101
103 In addition to the default behavior, the qdel utility shall not be
104 required to write a diagnostic message to standard error when the error
105 reply received from a batch server indicates that the batch job_identi‐
106 fier does not exist on the server. Whether or not the qdel utility
107 waits to output the diagnostic message while attempting to locate the
108 job on other servers is implementation-defined.
109
110 The following sections are informative.
111
113 None.
114
116 None.
117
119 The qdel utility allows users and administrators to delete jobs.
120
121 The qdel utility provides functionality that is not otherwise avail‐
122 able. For example, the kill utility of the operating system does not
123 suffice. First, to use the kill utility, the user might have to log in
124 on a remote node, because the kill utility does not operate across the
125 network. Second, unlike qdel, kill cannot remove jobs from queues.
126 Lastly, the arguments of the qdel utility are job identifiers rather
127 than process identifiers, and so this utility can be passed the output
128 of the qselect utility, thus providing users with a means of deleting a
129 list of jobs.
130
131 Because a set of jobs can be selected using the qselect utility, the
132 qdel utility has not been complicated with options that provide for
133 selection of jobs. Instead, the batch jobs to be deleted are identified
134 individually by their job identifiers.
135
136 Historically, the qdel utility has been a component of NQS, the exist‐
137 ing practice on which it is based. However, the qdel utility defined in
138 this volume of POSIX.1‐2008 does not provide an option for specifying a
139 signal number to send to the batch job prior to the killing of the
140 process; that capability has been subsumed by the qsig utility.
141
142 A discussion was held about the delays of networking and the possibil‐
143 ity that the batch server may never respond, due to a down router, down
144 batch server, or other network mishap. The DESCRIPTION records this
145 under the words ``fails to process any job identifier''. In the broad
146 sense, the network problem is also an error, which causes the failure
147 to process the batch job identifier.
148
150 The qdel utility may be removed in a future version.
151
153 Chapter 3, Batch Environment Services, kill, qselect, qsig
154
155 The Base Definitions volume of POSIX.1‐2008, Chapter 8, Environment
156 Variables
157
159 Portions of this text are reprinted and reproduced in electronic form
160 from IEEE Std 1003.1, 2013 Edition, Standard for Information Technology
161 -- Portable Operating System Interface (POSIX), The Open Group Base
162 Specifications Issue 7, Copyright (C) 2013 by the Institute of Electri‐
163 cal and Electronics Engineers, Inc and The Open Group. (This is
164 POSIX.1-2008 with the 2013 Technical Corrigendum 1 applied.) In the
165 event of any discrepancy between this version and the original IEEE and
166 The Open Group Standard, the original IEEE and The Open Group Standard
167 is the referee document. The original Standard can be obtained online
168 at http://www.unix.org/online.html .
169
170 Any typographical or formatting errors that appear in this page are
171 most likely to have been introduced during the conversion of the source
172 files to man page format. To report such errors, see https://www.ker‐
173 nel.org/doc/man-pages/reporting_bugs.html .
174
175
176
177IEEE/The Open Group 2013 QDEL(1P)