valpackett/systemstat

Rust library for getting system information | also on https://codeberg.org/valpackett/systemstat

Rust

670

190 commits

updated Sep 19, 2026

See the code

README

crates.io API Docs CI status unlicense Support me on Patreon

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
  • DragonFly BSD
  • 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.

battery-status
boot-time
cpu-load
load-average
loadavg
memory-usage
rust
system
system-information
uptime

valpackett/systemstat

Rust library for getting system information | also on https://codeberg.org/valpackett/systemstat

Rust

670

190 commits

updated Sep 19, 2026

See the code

README

crates.io API Docs CI status unlicense Support me on Patreon

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
  • DragonFly BSD
  • 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.

battery-status
boot-time
cpu-load
load-average
loadavg
memory-usage
rust
system
system-information
uptime

Project health

crates.io

Latest release

0.2.7 · Jun 2, 2026

Releases this year

2

Significant stargazers

Tobias Bieniek

713 followers · starred Jul 2018

Samuel Cochran

381 followers · starred Apr 2020

Magic Len (Ron Li)

270 followers · starred Apr 2019

Alex Burka

81 followers · starred Nov 2017