Crates.io | psutil |
lib.rs | psutil |
version | 3.3.0 |
source | src |
created_at | 2015-01-22 20:59:31.269032 |
updated_at | 2024-01-01 11:19:34.977016 |
description | Process and system monitoring library |
homepage | |
repository | https://github.com/rust-psutil/rust-psutil |
max_upload_size | |
id | 855 |
size | 191,643 |
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.
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"] }
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.