diff options
author | Alex Auvolat <alex@adnab.me> | 2023-01-26 15:04:32 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-01-26 15:04:32 +0100 |
commit | efb6b6e868be1be0725125485810ce96e74ed124 (patch) | |
tree | 19b63f6ac98b3125a832407c5e8618e6443face5 /Cargo.lock | |
parent | f251b4721f2c016e3a90d913cb766a57a53a3d30 (diff) | |
download | garage-efb6b6e868be1be0725125485810ce96e74ed124.tar.gz garage-efb6b6e868be1be0725125485810ce96e74ed124.zip |
Disk space report
Report available disk space on nodes and calculate cluster-wide available space in `garage stats` (fix #479)
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1230,6 +1230,7 @@ dependencies = [ "serde", "serde_bytes", "serde_json", + "systemstat", "tokio", "tokio-stream", "tracing", @@ -3568,6 +3569,20 @@ dependencies = [ ] [[package]] +name = "systemstat" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a24aec24a9312c83999a28e3ef9db7e2afd5c64bf47725b758cdc1cafd5b0bd2" +dependencies = [ + "bytesize", + "lazy_static", + "libc", + "nom", + "time 0.3.9", + "winapi", +] + +[[package]] name = "tempfile" version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" |