psutil logo

psutil

Retrieves information on running processes and system utilization in a portable way using Python.

Made by Giampaolo Rodola

  • System Administration

  • Library

  • Python

  • affinity

What is psutil?

psutil is a cross-platform Python module that offers a comprehensive interface for monitoring and managing running processes and system resource utilization. It provides a unified API to retrieve information on CPU, memory, disks, network, users, and more, emulating the functionality of command-line tools such as ps, top, df, kill, free, lsof, netstat, ifconfig, nice, ionice, iostat, iotop, uptime, pidof, tty, who, taskset, and pmap. By leveraging the power of Python, psutil enables developers to build portable and efficient system monitoring applications that can run on various operating systems, including Windows, macOS, and Linux

Highlights

  • Comprehensive system monitoring capabilities: Retrieve real-time data on CPU, memory, disks, network, users, and more
  • Portable and cross-platform: Works seamlessly across Windows, macOS, and Linux
  • Extensive command-line tool emulation: Provides access to the functionality of tools like ps, top, df, kill, and more
  • Open-source and actively maintained: Over 9.4K GitHub stars and 1.3K forks, with ongoing development and support

Platforms

  • Mac
  • Windows
  • Linux
  • BSD

Languages

  • English

Features

    • Affinity Mask

    • System Information

    • Hardware Monitoring