1QDEL(P)                    POSIX Programmer's Manual                   QDEL(P)
2
3
4

NAME

6       qdel - delete batch jobs
7

SYNOPSIS

9       qdel job_identifier ...
10

DESCRIPTION

12       A  batch  job  is deleted by sending a request to the batch server that
13       manages the batch job. A batch job that has been deleted is  no  longer
14       subject to management by batch services.
15
16       The  qdel  utility  is  a user-accessible client of batch services that
17       requests the deletion of one or more batch jobs.
18
19       The qdel utility shall request a batch server  to  delete  those  batch
20       jobs for which a batch job_identifier is presented to the utility.
21
22       The  qdel  utility  shall delete batch jobs in the order in which their
23       batch job_identifiers are presented to the utility.
24
25       If the qdel utility fails to process any batch job_identifier  success‐
26       fully,  the  utility  shall  proceed  to  process  the  remaining batch
27       job_identifiers, if any.
28
29       The qdel utility shall delete each batch job by sending  a  Delete  Job
30       Request to the batch server that manages the batch job.
31
32       The  qdel  utility  shall not exit until the batch job corresponding to
33       each successfully processed batch job_identifier has been deleted.
34

OPTIONS

36       None.
37

OPERANDS

39       The qdel utility shall accept one or more operands that conform to  the
40       syntax for a batch job_identifier (see Batch Job Identifier ).
41

STDIN

43       Not used.
44

INPUT FILES

46       None.
47

ENVIRONMENT VARIABLES

49       The following environment variables shall affect the execution of qdel:
50
51       LANG   Provide  a  default value for the internationalization variables
52              that are unset or null. (See  the  Base  Definitions  volume  of
53              IEEE Std 1003.1-2001,  Section  8.2,  Internationalization Vari‐
54              ables for the precedence of internationalization variables  used
55              to determine the values of locale categories.)
56
57       LC_ALL If  set  to a non-empty string value, override the values of all
58              the other internationalization variables.
59
60       LC_CTYPE
61              Determine the locale for  the  interpretation  of  sequences  of
62              bytes  of  text  data as characters (for example, single-byte as
63              opposed to multi-byte characters in arguments).
64
65       LC_MESSAGES
66              Determine the locale that should be used to  affect  the  format
67              and contents of diagnostic messages written to standard error.
68
69       LOGNAME
70              Determine the login name of the user.
71
72

ASYNCHRONOUS EVENTS

74       Default.
75

STDOUT

77       An implementation of the qdel utility may write informative messages to
78       standard output.
79

STDERR

81       The standard error shall be used only for diagnostic messages.
82

OUTPUT FILES

84       None.
85

EXTENDED DESCRIPTION

87       None.
88

EXIT STATUS

90       The following exit values shall be returned:
91
92        0     Successful completion.
93
94       >0     An error occurred.
95
96

CONSEQUENCES OF ERRORS

98       In addition to the default behavior, the  qdel  utility  shall  not  be
99       required to write a diagnostic message to standard error when the error
100       reply received from a batch server indicates that the batch job_identi‐
101       fier  does  not  exist  on  the server. Whether or not the qdel utility
102       waits to output the diagnostic message while attempting to  locate  the
103       job on other servers is implementation-defined.
104
105       The following sections are informative.
106

APPLICATION USAGE

108       None.
109

EXAMPLES

111       None.
112

RATIONALE

114       The qdel utility allows users and administrators to delete jobs.
115
116       The  qdel  utility  provides functionality that is not otherwise avail‐
117       able. For example, the kill utility of the operating  system  does  not
118       suffice.  First, to use the kill utility, the user might have to log in
119       on a remote node, because the kill utility does not operate across  the
120       network.  Second,  unlike  qdel,  kill  cannot remove jobs from queues.
121       Lastly, the arguments of the qdel utility are  job  identifiers  rather
122       than  process identifiers, and so this utility can be passed the output
123       of the qselect utility, thus providing users with a means of deleting a
124       list of jobs.
125
126       Because  a  set  of jobs can be selected using the qselect utility, the
127       qdel utility has not been complicated with  options  that  provide  for
128       selection of jobs. Instead, the batch jobs to be deleted are identified
129       individually by their job identifiers.
130
131       Historically, the qdel utility has been a component of NQS, the  exist‐
132       ing practice on which it is based. However, the qdel utility defined in
133       this volume of IEEE Std 1003.1-2001 does  not  provide  an  option  for
134       specifying  a  signal  number  to  send  to  the batch job prior to the
135       killing of the process; that capability has been subsumed by  the  qsig
136       utility.
137
138       A  discussion was held about the delays of networking and the possibil‐
139       ity that the batch server may never respond, due to a down router, down
140       batch  server,  or  other  network mishap. The DESCRIPTION records this
141       under the words "fails to process any job  identifier".  In  the  broad
142       sense,  the  network problem is also an error, which causes the failure
143       to process the batch job identifier.
144

FUTURE DIRECTIONS

146       None.
147

SEE ALSO

149       Batch Environment Services , kill() , qselect , qsig
150
152       Portions of this text are reprinted and reproduced in  electronic  form
153       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
154       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
155       Specifications  Issue  6,  Copyright  (C) 2001-2003 by the Institute of
156       Electrical and Electronics Engineers, Inc and The Open  Group.  In  the
157       event of any discrepancy between this version and the original IEEE and
158       The Open Group Standard, the original IEEE and The Open Group  Standard
159       is  the  referee document. The original Standard can be obtained online
160       at http://www.opengroup.org/unix/online.html .
161
162
163
164IEEE/The Open Group                  2003                              QDEL(P)
Impressum