Skip to content

Commit

Permalink
add expansion of array jobs when collecting job metrics for accounts/…
Browse files Browse the repository at this point in the history
…users
  • Loading branch information
vpenso committed Oct 14, 2020
1 parent 99d8fde commit fbefc72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
)

func AccountsData() []byte {
cmd := exec.Command("squeue", "-h", "-o %A|%a|%T|%C")
cmd := exec.Command("squeue","-a","-r","-h","-o %A|%a|%T|%C")
stdout, err := cmd.StdoutPipe()
if err != nil {
log.Fatal(err)
Expand Down
2 changes: 1 addition & 1 deletion users.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
)

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

0 comments on commit fbefc72

Please sign in to comment.