#system #cpu #disk #memory #information

sys sys-info

Get system information in Rust. For now it supports Linux, Mac OS X, illumos, Solaris, FreeBSD, OpenBSD, and Windows

30 releases

Uses old Rust 2015

0.8.0 Jan 25, 2021
0.7.0 May 29, 2020
0.6.1 Apr 30, 2020
0.6.0 Mar 26, 2020
0.3.1 Mar 27, 2015

#16 in Operating systems

Download history 11904/week @ 2020-11-06 11958/week @ 2020-11-13 12749/week @ 2020-11-20 14758/week @ 2020-11-27 20395/week @ 2020-12-04 15875/week @ 2020-12-11 8774/week @ 2020-12-18 7114/week @ 2020-12-25 17166/week @ 2021-01-01 20978/week @ 2021-01-08 15640/week @ 2021-01-15 12447/week @ 2021-01-22 13704/week @ 2021-01-29 11771/week @ 2021-02-05 16733/week @ 2021-02-12 13004/week @ 2021-02-19

58,893 downloads per month
Used in 57 crates (33 directly)

MIT license

66KB
1.5K SLoC

Rust 1K SLoC // 0.0% comments C 808 SLoC // 0.0% comments

sys-info-rs

Build Status

Get system information in Rust.

For now it supports Linux, Mac OS X, illumos, Solaris, FreeBSD, OpenBSD, 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.8"

and add this to crate root:

extern crate sys_info;

Dependencies

~165KB