26 releases (14 stable)

3.2.0 Sep 26, 2020
3.1.0 May 10, 2020
3.0.1 Feb 12, 2020
2.0.0 Feb 4, 2020
0.8.2 Mar 30, 2015
Download history 2689/week @ 2020-09-25 2393/week @ 2020-10-02 2052/week @ 2020-10-09 2080/week @ 2020-10-16 2503/week @ 2020-10-23 1775/week @ 2020-10-30 2125/week @ 2020-11-06 3310/week @ 2020-11-13 3871/week @ 2020-11-20 3121/week @ 2020-11-27 2746/week @ 2020-12-04 2030/week @ 2020-12-11 1762/week @ 2020-12-18 1104/week @ 2020-12-25 1558/week @ 2021-01-01 1718/week @ 2021-01-08

9,551 downloads per month
Used in less than 9 crates

MIT license

155KB
5K SLoC

rust-psutil

crates.io docs.rs Minimum rustc version Matrix

A process and system monitoring library for Rust, heavily inspired by the psutil module for Python.

Usage

Add this to your Cargo.toml:

[dependencies]
psutil = "3.2.0"

Or to only use certain submodules:

[dependencies]
psutil = { version = "3.2.0", default-features = false, features = ["cpu", "process"] }

Platform Support

Currently, only Linux and macOS are supported, but support is planned for all major platforms.

platform-support details the implementation level of each platform.

Apps using rust-psutil

Related projects

Dependencies

~1.5–2.1MB
~45K SLoC