mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Convert to raw bytes from 1k blocks
This commit is contained in:
@@ -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.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user