17 releases

0.2.3 Jan 23, 2023
0.2.2 Nov 3, 2022
0.2.1 Oct 2, 2022
0.1.11 May 22, 2022
0.1.0 Mar 12, 2016

#30 in Operating systems

Download history 16060/week @ 2024-07-19 17533/week @ 2024-07-26 17870/week @ 2024-08-02 16282/week @ 2024-08-09 16060/week @ 2024-08-16 17600/week @ 2024-08-23 14760/week @ 2024-08-30 15575/week @ 2024-09-06 9418/week @ 2024-09-13 11855/week @ 2024-09-20 12173/week @ 2024-09-27 13985/week @ 2024-10-04 15801/week @ 2024-10-11 17003/week @ 2024-10-18 16461/week @ 2024-10-25 17636/week @ 2024-11-01

69,343 downloads per month
Used in 56 crates (48 directly)

Unlicense

135KB
3.5K SLoC

crates.io API Docs CI status unlicense

systemstat

A Rust library for getting system information/statistics:

  • CPU load
  • load average
  • memory usage
  • uptime / boot time
  • battery life
  • filesystem mounts (and disk usage)
  • disk I/O statistics
  • network interfaces
  • network traffic statistics
  • CPU temperature

Unlike sys-info-rs, this one is written purely in Rust.

Supported platforms (roughly ordered by completeness of support):

  • FreeBSD
  • Linux
  • OpenBSD
  • Windows
  • macOS
  • NetBSD
  • more coming soon

Usage

See examples/info.rs.

Contributing

Please feel free to submit pull requests!

By participating in this project you agree to follow the Contributor Code of Conduct and to release your contributions under the Unlicense.

License

This is free and unencumbered software released into the public domain.
For more information, please refer to the UNLICENSE file or unlicense.org.

Dependencies

~0.7–1.4MB
~23K SLoC