sys-info

Crates.iosys-info
lib.rssys-info
version0.9.1
sourcesrc
created_at2015-02-21 16:01:13.590245
updated_at2021-10-21 07:05:29.396571
descriptionGet system information in Rust. For now it supports Linux, Mac OS X, illumos, Solaris, FreeBSD, OpenBSD, and Windows.
homepage
repositoryhttps://github.com/FillZpp/sys-info-rs
max_upload_size
id1439
size76,101
Siyu Wang (FillZpp)

documentation

https://docs.rs/sys-info

README

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;
Commit count: 138

cargo fmt