qsub command which submits PBS jobs has a
-p option that allows you to set the priority. From the man page:
Defines the priority of the job. The priority argument must be a integer between -1024 and +1023 inclusive. The default is no priority which is equivalent to a priority of zero.
And that's all that is in the man page. Which leaves me wondering, what does the priority actually mean? For example: does the system just pick out the jobs with the highest priority to run, or does it use some combination of waiting time and priority? Is priority only measured relative to other jobs I've submitted, or does it cross user boundaries? Does a higher number mean higher priority, or is it like Linux's niceness? Basically I'm looking for a less sparse explanation of what this option is good for.