psutil

Cross-platform lib for process and system monitoring in Python

Automatically checked · GitHub checked 2026-11-14

psutil

Overview

psutil is a cross-platform library for retrieving information about running processes and system utilization (CPU, memory, disks, network, sensors) in Python. It is useful mainly for system monitoring, profiling, limiting process resources, and managing running processes. It implements many functionalities offered by UNIX command line tool such as ps, top, free, iotop, netstat, ifconfig, lsof and others (see shell equivalents). Psutil supports the following platforms: psutil is among the top 100 most-downloaded packages on PyPI, with 370+ million downloads per month and 800,000+ GitHub repositories using it. See also adoptions and alternatives . For the full API with more examples, see the API overview and API reference .