Skip to content

Commit

Permalink
fetch correct cpu number (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
zc committed Mar 25, 2020
1 parent a9c305f commit 623779f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/systemd/systemd.go
Expand Up @@ -22,7 +22,7 @@ const (
// SSHPrefixKey is engine endpoint prefix
SSHPrefixKey = "systemd://"

cmdInspectCPUNumber = "/bin/grep -cz processor /proc/cpuinfo"
cmdInspectCPUNumber = "/bin/grep -c processor /proc/cpuinfo"
cmdInspectMemoryTotalInBytes = "/usr/bin/awk '/^Mem/ {print $2}' <(/usr/bin/free -bt)"
)

Expand Down

0 comments on commit 623779f

Please sign in to comment.