Skip to content

Commit ed23af8

Browse files
getUnixStorageSize (#1240) (#1241)
Co-authored-by: Shay Bratslavsky <[email protected]>
1 parent 65ecc74 commit ed23af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/memphis_handlers_monitoring.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ func getDbStorageSize() (float64, float64, error) {
979979
}
980980

981981
func getUnixStorageSize() (float64, error) {
982-
out, err := exec.Command("df", "-g", "/").Output()
982+
out, err := exec.Command("df", "-h", "/").Output()
983983
if err != nil {
984984
return 0, err
985985
}

0 commit comments

Comments
 (0)