Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Python program to monitor cpu (for all cores) temperature over time with real-time plotting

Notifications You must be signed in to change notification settings

fabian57fabian/cpu-heat-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cpu-heat-monitor

This project monitors all cpu cores temperature and stores them into a file. Also a real-time plotter is available.

UPDATE: this only works with Intel cpus. With And Ryzen does not work and needs a workaround like this.

Requirements

  • Python 3.x installed
  • lm-sensors tool installed:
$ apt install lm-sensors

Usage

To start monitoring, execute watch_temperatures script with python:

$ python3 watch_temperatures.py

Keep it running and it will show you the average temperature.

To view real-time temperatures of this monitor, execute plot_temperatures script with python:

$ python3 plot_temperatures.py

This script has a series of arguments:

  • --path: if no path given, it will check temperatures folder and take the latest file created by watch_temperatures. If path given, he will analyze that file
  • --core: if you want to view a specific core, set it here. Notice that if you have 8 cores, you can choose between 0 and 7. To show all cores, set -1 or don't use this arg

About

Python program to monitor cpu (for all cores) temperature over time with real-time plotting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages