2 releases
Uses old Rust 2015
0.0.2 | Aug 29, 2015 |
---|---|
0.0.1 | Aug 29, 2015 |
#14 in #gathering
2MB
51K
SLoC
Contains (JAR file, 370KB) cpptasks.jar, (JAR file, 350KB) sigar/bindings/java/lib/log4j.jar, (obscure autoconf code, 5KB) sigar/configure.ac
rust-sigar
Rust bindings for libsigar for portably gathering system information.
usage
- Build and install
libsigar
. - Use this library.
fn main() {
match sigar::memory() {
Ok(memory) => println!("Memory: {:?}", memory),
Err(error) => println!("Error!: {:?}", error),
};
}