Skip to content

Commit

Permalink
Merge pull request #94 from Moritz921/master
Browse files Browse the repository at this point in the history
Add every status in PBS scheduler
  • Loading branch information
parnet authored Aug 21, 2024
2 parents a6c9d58 + cb6afd4 commit 12c48db
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/shell/schedulers/pbs-generic
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,15 @@ function UJS_Info
sub(/\..*$/, "", $1)
status = $10
if (status == "R") {
if (status == "R" || status == "E") {
status = "RUNNING"
} else if (status == "Q") {
} else if (status == "Q" || status == "H" || status == "W" || status == "T" || status == "S") {
status = "PENDING"
} else {
status = "PENDING"
}
print $1, $2, $3, $4, $5, $6, $7, $8, $9, status, $11
}' # change status to RUNNING or PENDING
}' # change every status to RUNNING or PENDING, fallback to PENDING
) | column -t # format output as table
}

Expand Down

0 comments on commit 12c48db

Please sign in to comment.