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.
The hold_list argument is a string consisting of one or more occurrences the single letter n , or one or more of the letters u , o , or s in any combination. If letters are duplicated, they are treated as if they occurred once. The letters represent the hold types:
n - none u - user o - other s - system
Only those jobs will be selected whose
AT&T System
Resource_List
attribute matches the specified relation with each resource and value
listed in the
resource_list
argument.
The
resource_list
is in the following format:
resource_nameopvalue[,resource_nameopval,...]
The relation operator
op
must be present.
When comparing the values of resources, the following definitions for the operator apply:
If the op is specified, the relationship is defined as:
The
destination
may be of one of the following three forms:
queue
@server
queue@server
If the -q option is not specified, jobs will be selected from the default server.
If the destination describes only a queue, only jobs in that queue on the default batch server will be selected.
If the destination describes only a server, then jobs in all queues on that server will be selected.
If the destination describes both a queue and a server, then only jobs in the named queue on the named server will be selected.
The states argument is a character string which consists of any combination of the characters: E , H , Q , R , T , and W .
The characters in the states argument have the following interpretation:
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
user_list
is:
user_name[@host][,user_name[@host],...]
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.
If the qselect command fails to process any option, the command exits with a value greater than zero.