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
12 qdel - delete batch jobs
13
15 qdel job_identifier ...
16
18 A batch job is deleted by sending a request to the batch server that
19 manages the batch job. A batch job that has been deleted is no longer
20 subject to management by batch services.
21
22 The qdel utility is a user-accessible client of batch services that
23 requests the deletion of one or more batch jobs.
24
25 The qdel utility shall request a batch server to delete those batch
26 jobs for which a batch job_identifier is presented to the utility.
27
28 The qdel utility shall delete batch jobs in the order in which their
29 batch job_identifiers are presented to the utility.
30
31 If the qdel utility fails to process any batch job_identifier success‐
32 fully, the utility shall proceed to process the remaining batch
33 job_identifiers, if any.
34
35 The qdel utility shall delete each batch job by sending a Delete Job
36 Request to the batch server that manages the batch job.
37
38 The qdel utility shall not exit until the batch job corresponding to
39 each successfully processed batch job_identifier has been deleted.
40
42 None.
43
45 The qdel utility shall accept one or more operands that conform to the
46 syntax for a batch job_identifier (see Batch Job Identifier ).
47
49 Not used.
50
52 None.
53
55 The following environment variables shall affect the execution of qdel:
56
57 LANG Provide a default value for the internationalization variables
58 that are unset or null. (See the Base Definitions volume of
59 IEEE Std 1003.1-2001, Section 8.2, Internationalization Vari‐
60 ables for the precedence of internationalization variables used
61 to determine the values of locale categories.)
62
63 LC_ALL If set to a non-empty string value, override the values of all
64 the other internationalization variables.
65
66 LC_CTYPE
67 Determine the locale for the interpretation of sequences of
68 bytes of text data as characters (for example, single-byte as
69 opposed to multi-byte characters in arguments).
70
71 LC_MESSAGES
72 Determine the locale that should be used to affect the format
73 and contents of diagnostic messages written to standard error.
74
75 LOGNAME
76 Determine the login name of the user.
77
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
102
104 In addition to the default behavior, the qdel utility shall not be
105 required to write a diagnostic message to standard error when the error
106 reply received from a batch server indicates that the batch job_identi‐
107 fier does not exist on the server. Whether or not the qdel utility
108 waits to output the diagnostic message while attempting to locate the
109 job on other servers is implementation-defined.
110
111 The following sections are informative.
112
114 None.
115
117 None.
118
120 The qdel utility allows users and administrators to delete jobs.
121
122 The qdel utility provides functionality that is not otherwise avail‐
123 able. For example, the kill utility of the operating system does not
124 suffice. First, to use the kill utility, the user might have to log in
125 on a remote node, because the kill utility does not operate across the
126 network. Second, unlike qdel, kill cannot remove jobs from queues.
127 Lastly, the arguments of the qdel utility are job identifiers rather
128 than process identifiers, and so this utility can be passed the output
129 of the qselect utility, thus providing users with a means of deleting a
130 list of jobs.
131
132 Because a set of jobs can be selected using the qselect utility, the
133 qdel utility has not been complicated with options that provide for
134 selection of jobs. Instead, the batch jobs to be deleted are identified
135 individually by their job identifiers.
136
137 Historically, the qdel utility has been a component of NQS, the exist‐
138 ing practice on which it is based. However, the qdel utility defined in
139 this volume of IEEE Std 1003.1-2001 does not provide an option for
140 specifying a signal number to send to the batch job prior to the
141 killing of the process; that capability has been subsumed by the qsig
142 utility.
143
144 A discussion was held about the delays of networking and the possibil‐
145 ity that the batch server may never respond, due to a down router, down
146 batch server, or other network mishap. The DESCRIPTION records this
147 under the words "fails to process any job identifier". In the broad
148 sense, the network problem is also an error, which causes the failure
149 to process the batch job identifier.
150
152 None.
153
155 Batch Environment Services, kill(), qselect, qsig
156
158 Portions of this text are reprinted and reproduced in electronic form
159 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
160 -- Portable Operating System Interface (POSIX), The Open Group Base
161 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
162 Electrical and Electronics Engineers, Inc and The Open Group. In the
163 event of any discrepancy between this version and the original IEEE and
164 The Open Group Standard, the original IEEE and The Open Group Standard
165 is the referee document. The original Standard can be obtained online
166 at http://www.opengroup.org/unix/online.html .
167
168
169
170IEEE/The Open Group 2003 QDEL(1P)