1
3
Fork
You've already forked systemstat
1
Rust library for getting system information https://crates.io/crates/systemstat
  • Rust 100%
2026年06月02日 12:13:08 -03:00
.github remove windows 2019 from github CI due to old rustc 2026年02月17日 14:03:54 -03:00
examples add swap support 2022年04月15日 20:39:35 +03:00
src Complete DragonFly stats coverage 2026年06月01日 16:35:36 +08:00
.cirrus.yml update cirrus freebsd image 2026年02月17日 14:08:03 -03:00
.gitignore Ignore .swp files 2016年11月12日 20:52:10 +00:00
.woodpecker.yml add Woodpecker CI 2022年12月12日 03:47:12 -03:00
Cargo.toml release 0.2.7 2026年06月02日 12:13:08 -03:00
CODE_OF_CONDUCT.md initial commit 2016年02月19日 15:02:18 +03:00
README.md Document DragonFly BSD support 2026年06月01日 16:40:31 +08:00
UNLICENSE initial commit 2016年02月19日 15:02:18 +03:00

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.