Skip to content

Commit 88f7986

Browse files
committed
Include all array jobs in count
1 parent fd60110 commit 88f7986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func ParseQueueMetrics(input []byte) *QueueMetrics {
8484

8585
// Execute the squeue command and return its output
8686
func QueueData() []byte {
87-
cmd := exec.Command("/usr/bin/squeue", "-h", "-o %A,%T,%r", "--states=all")
87+
cmd := exec.Command("/usr/bin/squeue", "-r", "-h", "-o %A,%T,%r", "--states=all")
8888
stdout, err := cmd.StdoutPipe()
8989
if err != nil {
9090
log.Fatal(err)

0 commit comments

Comments
 (0)