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

#32 in Operating systems

Download history 17737/week @ 2024-08-03 15933/week @ 2024-08-10 15829/week @ 2024-08-17 17822/week @ 2024-08-24 14469/week @ 2024-08-31 14800/week @ 2024-09-07 8687/week @ 2024-09-14 13261/week @ 2024-09-21 12101/week @ 2024-09-28 13423/week @ 2024-10-05 16399/week @ 2024-10-12 17007/week @ 2024-10-19 16053/week @ 2024-10-26 18153/week @ 2024-11-02 20568/week @ 2024-11-09 18309/week @ 2024-11-16

75,639 downloads per month
Used in 57 crates (49 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