Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Commit e5097e9

Browse files
authored
a
1 parent 97ab36d commit e5097e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpus.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func ParseCPUsMetrics(input []byte) *CPUsMetrics {
4949

5050
// Execute the sinfo command and return its output
5151
func CPUsData() []byte {
52-
cmd := exec.Command("sinfo", "-h", "-o %C")
52+
cmd := exec.Command("/opt/slurm/17.11.13/bin/sinfo", "-h", "-o %C")
5353
stdout, err := cmd.StdoutPipe()
5454
if err != nil {
5555
log.Fatal(err)

0 commit comments

Comments
 (0)