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

PROLOG

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

NAME

12       qdel — delete batch jobs
13

SYNOPSIS

15       qdel job_identifier...
16

DESCRIPTION

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

OPTIONS

42       None.
43

OPERANDS

45       The  qdel utility shall accept one or more operands that conform to the
46       syntax for a batch job_identifier (see Section 3.3.1, Batch Job Identi‐
47       fier).
48

STDIN

50       Not used.
51

INPUT FILES

53       None.
54

ENVIRONMENT VARIABLES

56       The following environment variables shall affect the execution of qdel:
57
58       LANG      Provide  a  default  value for the internationalization vari‐
59                 ables that are unset or null. (See the Base Definitions  vol‐
60                 ume  of POSIX.1‐2017, Section 8.2, Internationalization Vari‐
61                 ables the precedence of internationalization  variables  used
62                 to determine the values of locale categories.)
63
64       LC_ALL    If  set  to  a non-empty string value, override the values of
65                 all the other internationalization variables.
66
67       LC_CTYPE  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
74                 error.
75
76       LOGNAME   Determine the login name of the user.
77

ASYNCHRONOUS EVENTS

79       Default.
80

STDOUT

82       An implementation of the qdel utility may write informative messages to
83       standard output.
84

STDERR

86       The standard error shall be used only for diagnostic messages.
87

OUTPUT FILES

89       None.
90

EXTENDED DESCRIPTION

92       None.
93

EXIT STATUS

95       The following exit values shall be returned:
96
97        0    Successful completion.
98
99       >0    An error occurred.
100

CONSEQUENCES OF ERRORS

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

APPLICATION USAGE

112       None.
113

EXAMPLES

115       None.
116

RATIONALE

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

FUTURE DIRECTIONS

149       The qdel utility may be removed in a future version.
150

SEE ALSO

152       Chapter 3, Batch Environment Services, kill, qselect, qsig
153
154       The Base Definitions volume of  POSIX.1‐2017,  Chapter  8,  Environment
155       Variables
156
158       Portions  of  this text are reprinted and reproduced in electronic form
159       from IEEE Std 1003.1-2017, Standard for Information Technology --  Por‐
160       table  Operating System Interface (POSIX), The Open Group Base Specifi‐
161       cations Issue 7, 2018 Edition, Copyright (C) 2018 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       Any  typographical  or  formatting  errors that appear in this page are
169       most likely to have been introduced during the conversion of the source
170       files  to  man page format. To report such errors, see https://www.ker
171       nel.org/doc/man-pages/reporting_bugs.html .
172
173
174
175IEEE/The Open Group                  2017                             QDEL(1P)
Impressum