psutil is a widely adopted cross-platform Python library designed to retrieve detailed information about system utilization and running processes in a consistent and programmatic way. It exposes a rich API that allows developers to inspect CPU usage, memory consumption, disk activity, network statistics, and hardware sensors without relying on platform-specific tools. The library effectively replicates and unifies the capabilities of classic UNIX utilities such as ps, top, netstat, and free, making it especially valuable for monitoring, profiling, and process management workflows. Because it supports multiple operating systems including Linux, Windows, macOS, and BSD variants, psutil enables developers to build portable observability tools and automation scripts. It is commonly used in performance dashboards, resource limiters, and infrastructure monitoring agents due to its lightweight footprint and mature ecosystem.

Features

  • Cross-platform system and process monitoring
  • Detailed CPU, memory, disk, and network metrics
  • Process inspection and management APIs
  • Hardware sensor access including temperature and battery
  • Portable replacement for many UNIX monitoring tools
  • Pythonic interface suitable for automation and profiling

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow psutil

psutil Web Site

Other Useful Business Software
Build on Google Cloud with $300 in Free Credit Icon
Build on Google Cloud with $300 in Free Credit

New to Google Cloud? Get $300 in free credit to explore Compute Engine, BigQuery, Cloud Run, Vertex AI, and 150+ other products.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query exabytes in BigQuery, or build AI apps with Vertex AI and Gemini. Once your credits are used, keep building with 20+ products with free monthly usage, including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. Sign up to start building right away.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of psutil!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python System Monitoring Tool

Registered

18 hours ago