psutil

Crates.iopsutil
lib.rspsutil
version3.3.0
sourcesrc
created_at2015-01-22 20:59:31.269032
updated_at2024-01-01 11:19:34.977016
descriptionProcess and system monitoring library
homepage
repositoryhttps://github.com/rust-psutil/rust-psutil
max_upload_size
id855
size191,643
Caleb Bassi (cjbassi)

documentation

README

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.

Note about versioning: rust-psutil prematurely hit version 1.0, so even though it has passed 1.0, it is still going through a lot of changes and the API may be relatively unstable.

Usage

Add this to your Cargo.toml:

[dependencies]
psutil = "3.2.1"

Or to only use certain submodules:

[dependencies]
psutil = { version = "3.2.1", 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.md details the implementation level of each platform.

Apps using rust-psutil

Related projects

Commit count: 402

cargo fmt