Convert to raw bytes from 1k blocks

This commit is contained in:
Derek Collison
2013-10-21 16:06:59 -07:00
parent eb518267a9
commit 9eb4a7bb2d

View File

@@ -65,4 +65,5 @@ func updateUsage(v *Varz) {
return
}
fmt.Sscanf(string(out), "%f %d", &v.CPU, &v.Mem)
v.Mem *= 1024 // 1k blocks, want bytes.
}