FillZpp / sys-info-rs

Get system information in Rust.
MIT License
168 stars 57 forks source link
rust sys-info-rs

sys-info-rs

Build Status

Get system information in Rust.

For now it supports Linux, Mac OS X, illumos, Solaris, FreeBSD, OpenBSD, NetBSD and Windows. And now it can get information of kernel/cpu/memory/disk/load/hostname and so on.

Documentation

Usage

Add this to Cargo.toml:

[dependencies]
sys-info = "0.9"

and add this to crate root:

extern crate sys_info;