Crates.io | ramusage |
lib.rs | ramusage |
version | 0.1.0 |
source | src |
created_at | 2023-02-20 09:19:39.907298 |
updated_at | 2023-02-20 09:19:39.907298 |
description | Get the used and total amount of memory |
homepage | https://git.stuerz.xyz/ramusage |
repository | https://git.stuerz.xyz/ramusage |
max_upload_size | |
id | 789651 |
size | 8,457 |
This crate allows you to easily query the used and total amount of memory on your system.
cargo add ramusage
use memusage::Info;
let info = Info::read().expect("Failed to read memory usage");
println!("{info}");
cargo install ramusage
ramusage