#cpu-memory #system-information #disk #cpu

sys sys-info

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

32 releases

Uses old Rust 2015

0.9.1 Oct 21, 2021
0.9.0 Apr 9, 2021
0.8.0 Jan 25, 2021
0.7.0 May 29, 2020
0.3.1 Mar 27, 2015

#79 in Filesystem

Download history 75140/week @ 2025-01-28 90216/week @ 2025-02-04 85015/week @ 2025-02-11 79190/week @ 2025-02-18 77416/week @ 2025-02-25 90291/week @ 2025-03-04 107401/week @ 2025-03-11 101479/week @ 2025-03-18 113859/week @ 2025-03-25 102483/week @ 2025-04-01 104585/week @ 2025-04-08 101373/week @ 2025-04-15 93444/week @ 2025-04-22 86166/week @ 2025-04-29 94918/week @ 2025-05-06 75266/week @ 2025-05-13

362,041 downloads per month
Used in 237 crates (115 directly)

MIT license

72KB
2K SLoC

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

#Introduction This crate focuses on geting system information.

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


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;

Dependencies

~0.4–315KB