Skip to content

Commit fbefc72

Browse files
committed
add expansion of array jobs when collecting job metrics for accounts/users
1 parent 99d8fde commit fbefc72

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

accounts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
)
2727

2828
func AccountsData() []byte {
29-
cmd := exec.Command("squeue", "-h", "-o %A|%a|%T|%C")
29+
cmd := exec.Command("squeue","-a","-r","-h","-o %A|%a|%T|%C")
3030
stdout, err := cmd.StdoutPipe()
3131
if err != nil {
3232
log.Fatal(err)

users.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
)
2727

2828
func UsersData() []byte {
29-
cmd := exec.Command("squeue", "-h", "-o %A|%u|%T|%C")
29+
cmd := exec.Command("squeue","-a","-r","-h","-o %A|%u|%T|%C")
3030
stdout, err := cmd.StdoutPipe()
3131
if err != nil {
3232
log.Fatal(err)

0 commit comments

Comments
 (0)