Commit e2cc4b2e authored by Moe Jette's avatar Moe Jette
Browse files

Patch #25: Skip sprio display of jobs whose priority has been

            set directly (since the priority factor fields are 0).


i
rity/multifactor: skip jobs whose priority has been set directly

This avoids displaying "house numbers" in sprio if the priority has been
set directly, as in the following example for aghasemi (whose group is a
"bottom-feeder" with a fixed priority of 10):

palu> squeue
JOBID  USER     ACCOUNT           NAME PARTITION ST REASON     START_TIME           TIME  TIME_LEFT NODES   PRIORITY
6971   robinson g13               cp2k       day PD Resources  2011-03-16T13:09     0:00      40:00    35      10327
6983   rpopescu s190              bash       day PD Resources  N/A                  0:00    1:00:00     1       8254
6958   aghasemi s142         poslow007       day PD Priority   2011-03-16T15:28     0:00    1:00:00   108         10

palu> sprio
 JOBID     USER   PRIORITY        AGE  FAIRSHARE    JOBSIZE  PARTITION        QOS   NICE
  6958 aghasemi      10000          0          0          0          0          0 -10000
  6964 rpopescu       8353         71          0         56          0          0  -8225
  6971 robinson      10327         63          0       1988          0          0  -8276
  ...
parent 22200093
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment