Skip to content

Commit

Permalink
getUnixStorageSize (#1240) (#1241)
Browse files Browse the repository at this point in the history
Co-authored-by: Shay Bratslavsky <shay@memphis.dev>
  • Loading branch information
idanasulin2706 and shay23b committed Aug 10, 2023
1 parent 65ecc74 commit ed23af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/memphis_handlers_monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ func getDbStorageSize() (float64, float64, error) {
}

func getUnixStorageSize() (float64, error) {
out, err := exec.Command("df", "-g", "/").Output()
out, err := exec.Command("df", "-h", "/").Output()
if err != nil {
return 0, err
}
Expand Down

0 comments on commit ed23af8

Please sign in to comment.