sigar

Crates.iosigar
lib.rssigar
version0.0.2
sourcesrc
created_at2015-08-29 07:25:17.226077
updated_at2015-12-11 23:55:55.315022
descriptionRust bindings for libsigar for gathering system information.
homepagehttps://github.com/xoebus/rust-sigar
repositoryhttps://github.com/xoebus/rust-sigar
max_upload_size
id2950
size2,971,888
Christopher Brown (xoebus)

documentation

README

rust-sigar

Rust bindings for libsigar for portably gathering system information.

usage

  1. Build and install libsigar.
  2. Use this library.
fn main() {
    match sigar::memory() {
        Ok(memory) => println!("Memory: {:?}", memory),
        Err(error) => println!("Error!: {:?}", error),
    };
}
Commit count: 0

cargo fmt