Description
psutil is a cross-platform Python library for retrieving information about running processes and overall system use, including CPU, memory, disks, network and sensors. It works on many operating systems and gives programs a consistent way to read the same data on each. The documentation covers installation, an overview of the API, a full API reference, a frequently asked questions page, notes on performance, practical recipes, and reference pages that map psutil calls to the equivalent shell commands and to standard-library functions. It also lists the platforms it supports, has a migration guide, and records who uses it and the alternatives. The site notes that the page is the development version of the documentation, with the current release documented separately. psutil is commonly used to write monitoring scripts, health checks, resource limits and tools that report on processes, and the recipes show common tasks such as finding a process, reading its resource use or watching a system value over time. Because the library reads operating system data directly, the behaviour can differ slightly by platform, and the platform support page explains the differences. The project is open source and hosted on GitHub, with a changelog and development guide. Install it from the Python package index.…
Highlights
- Processes and system utilisation
- CPU, memory, disks, network and sensors
- Cross-platform API
- Recipes and shell equivalents
- Platform support notes
- Migration guide
Ratings & Reviews
No ratings yet
Be the first to rate psutil.
People also visit
psutil FAQ
What is psutil?
A cross-platform Python library for retrieving information on processes and system use, including CPU, memory, disks, network and sensors.
Where are the examples?
The documentation has recipes, plus reference pages that map psutil calls to shell commands and standard-library functions.
Does behaviour vary by platform?
The platform support page explains the differences between operating systems.
How do I install it?
The documentation has an install page, and the package is distributed through the Python package index.
Which version is documented?
The site is the development version of the docs, and the current release is documented separately.
What are the best psutil alternatives?
Popular alternatives to psutil include glances system monitoring, Pachtop and HardwareVisualizer. See all psutil alternatives




