Contents

psutil 7.2.2

0

Cross-platform lib for process and system monitoring.

Cross-platform lib for process and system monitoring.

Stars: 11082, Watchers: 11082, Forks: 1463, Open Issues: 360

The giampaolo/psutil repo was created 11 years ago and the last code push was 5 days ago.
The project is extremely popular with a mindblowing 11082 github stars!

How to Install psutil

You can install psutil using pip

pip install psutil

or add it to a project with poetry

poetry add psutil

Package Details

Author
Giampaolo Rodola
License
BSD-3-Clause
Homepage
https://github.com/giampaolo/psutil
PyPi:
https://pypi.org/project/psutil/
GitHub Repo:
https://github.com/giampaolo/psutil

Classifiers

  • Software Development/Libraries
  • Software Development/Libraries/Python Modules
  • System/Benchmark
  • System/Hardware
  • System/Monitoring
  • System/Networking
  • System/Networking/Monitoring
  • System/Networking/Monitoring/Hardware Watchdog
  • System/Operating System
  • System/Systems Administration
  • Utilities
No  psutil  pypi packages just yet.

Errors

A list of common psutil errors.

Code Examples

Here are some psutil code examples and snippets.

GitHub Issues

The psutil package has 360 open issues on GitHub

  • Eliminate busy-loop in psutil.wait_procs()
  • [Windows] broadcast field of net_if_addrs still none with psutil > 7.0.0
  • Process.wait(reap=True) parameter
  • Async process wait() API
  • [Windows 10+] Unique process ident
  • [Windows] issue with GetVolumeInformation()
  • [macOS] Regression: recent commit broken 7.1.2 on 32-bit archs due to a wrong type cast
  • [illumos] skip test_cpu_times_comparison() test on SunOS
  • [illumos] Update users() implementation for SunOS
  • Windows getloadavg improvements. Fixes #2664
  • [Linux] fix Process.open_files() for cases fdinfo has only flags (#2596)
  • Process.open_files() raises IndexError in some linux environments
  • linux: handle missing /sys/class/power_supply in sensors_battery()
  • gh-1946: Add PEP 484 type annotations
  • Adopt multi-phase init (PEP 489)

See more issues on GitHub

Related Packages & Articles

colorama 0.4.6

ANSI escape character sequences have long been used to produce colored terminal text and cursor positioning on Unix and Macs . Colorama makes this work on Windows, too, by stripping ANSI sequences it finds (which would appear as gobbledygook in the output) into win32 calls to modify the state of the terminal. Colorama has no requirements other than the standard library.