Skip to content

Files

Latest commit

cf16649 · Jan 4, 2015

History

History
18 lines (12 loc) · 484 Bytes

README.rst

File metadata and controls

18 lines (12 loc) · 484 Bytes

py-cpuutilization

A module for getting the CPU utilization on any OS with Python 2 & 3

Py-cpuutilization should work without any extra programs or libraries, beyond what your OS provides. The goal is for this to work on every OS that Python supports. Works on Linux, OS X, Windows, BSD, Solaris, Cygwin, and Haiku.

Run as a script

from cpuutilization import cpuutilization
print(cpuutilization.get_utilization())