SYNOPSIS
qselect [-a [op]date_time] [-A account_string] [-e] [-c [op]interval] [-h hold_list] [-l resource_list] [-N name] [-p [op]priority] [-q destination] [-r rerun] [-s states] [-u user_list]DESCRIPTION
The qselect command provides a method to list the job identifier of those jobs which meet a list of selection criteria. Jobs are selected from those owned by a single server.When qselect successfully completes, it will have written to standard output a list of zero or more jobs which meet the criteria specified by the options. Each option acts as a filter restricting the number of jobs which might be listed. With no options, the qselect command will list all jobs at the server which the user is authorized to list (query status of). The -u option may be used to limit the selection to jobs owned by this user or other specified users.
OPTIONS
When an option is specified with a optional component to the option argument, then specifies a relation between the value of a certain job attribute and the value component of the option argument. If an is allowable on an option, then the description of the option letter will indicate the is allowable. The only acceptable strings for the component, and the relation the string indicates, are shown in the following list:-
- .eq.
- the value represented by the attribute of the job is equal to the value represented by the option argument.
- .ne.
- the value represented by the attribute of the job is not equal to the value represented by the option argument.
- .ge.
- the value represented by the attribute of the job is greater than or equal to the value represented by the option argument.
- .gt.
- the value represented by the attribute of the job is greater than the value represented by the option argument.
- .le.
- the value represented by the attribute of the job is less than or equal to the value represented by the option argument.
- .lt.
- the value represented by the attribute of the job is less than the value represented by the option argument.
- -a [op]date_time
- Restricts selection to a specific time, or a range of times.
- The qselect command selects only jobs for which the value of the
where the MM is the two digits for the month, DD is the day of the month, hh is the hour, mm is the minute, and the optional SS is the seconds. CC is the century and YY the year.
-
- .eq.
n > s > c=minutes > c > u
If the optional is not specified, jobs will be selected whose attribute is equal to the argument. If is specified, jobs will be selected according to:
-
- .eq.
- attribute of the job is equal to the argument.
- .ne.
- attribute of the job is not equal to the argument.
- .ge.
- attribute of the job is greater than or equal to the argument.
- .gt.
- attribute of the job is greater than the argument.
- .le.
- attribute of the job is less than or equal to the argument.
- .lt.
- attribute of the job is less than the argument.
-
The argument is a string consisting of one or more occurrences the single letter
n - none u - user o - other s - system
-
Only those jobs will be selected whose attribute matches the specified relation with each resource and value listed in the argument. The is in the following format:
resource_nameopvalue[,resource_nameopval,...]
The relation operator must be present.When comparing the values of resources, the following definitions for the operator apply:
- .eq.
- the resource value in the
- .ne.
- the resource value in the
attribute of the job is not equal to the value specified in- .ge.
- the resource value in the
attribute of the job is greater than or equal to the value specified in- .gt.
- the resource value in the
attribute of the job is greater than the value specified in- .le.
- the resource value in the
attribute of the job is less than or equal to the value specified in- .lt.
- the resource value in the
attribute of the job is less than the value specified in
-
If the is specified, the relationship is defined as:
- .eq.
-
The may be of one of the following three forms:
If the option is not specified, jobs will be selected from the default server.
If the describes only a queue, only jobs in that queue on the default batch server will be selected.
If the describes only a server, then jobs in all queues on that server will be selected.
If the describes both a queue and a server, then only jobs in the named queue on the named server will be selected.
-
The
The characters in the
argument have the following interpretation:
E
Jobs will be selected which are in any of the specified states.
-
This provides a means of limiting the selection to jobs owned by one or more users.
The syntax of the is:
Host names may be wild carded on the left end, e.g. "*.nasa.gov". User_name without a "@host" is equivalent to "user_name@*", that is at any host. Jobs will be selected which are owned by the listed users at the corresponding hosts.
STANDARD OUTPUT
The list of job identifiers of selected jobs is written to standard output. Each job identifier is separated by white space. Each job identifier is of the form:Where is the identifier assigned at submission time, see qsub. identifies the server which currently owns the job.
STANDARD ERROR
The qselect command will write a diagnostic message to standard error for each error occurrence.EXIT STATUS
Upon successful processing of all options presented to the qselect command, the exit status will be a value of zero.If the qselect command fails to process any option, the command exits with a value greater than zero.