-h
Restricts the selection of jobs to those with a specific set of hold types. The holds in the Hold_Types job attribute must be the same as those in the hold list argument, but can be in a different order.
The hold list argument is a string consisting of the single letter n, or one or more of the letters u, o, p, or s in any combination. If letters are duplicated, they are treated as if they occurred once. The letters represent the hold types:
Letter Hold Type
---------------------------------------------------------------
n None
u User
o Other
p Bad password
s System
How to use -h in qselect ?
[pbsdata@pbspro ~]$ for i in {1β¦10};do qsub -l select=1:ncpus=4 β /bin/sleep 1000 ; done
253.pbspro
254.pbspro
255.pbspro
256.pbspro
257.pbspro
258.pbspro
259.pbspro
260.pbspro
261.pbspro
262.pbspro
Thank you for the clarification. My misunderstanding arises from the statement βThe hold_list argument is a string consisting of the single letter n, or one or more of the letters u, o, p, or s in any combination.β
One or more of the letters indicates the hold_list could be a string e.g. uop. If that is not the case then I believe the man entry needs to be reworded. e.g. βThe hold_list argument is a single letter from the set n, u, o, p, or s.β
I suspect I have still not fully understood the usage for this option.
By the way I have achieved what I needed by doing the following:
{ qselect -h o & qselect -h p & qselect -h s; }