Skip to content

Commit d68ed3c

Browse files
authored
Merge pull request vpenso#20 from jiyub/master
Include all partitions in squeue
2 parents f05c8e7 + 3d108ab commit d68ed3c

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", "-r", "-h", "-o %A,%T,%r", "--states=all")
87+
cmd := exec.Command("/usr/bin/squeue", "-a", "-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)