https://github.com/kadle11/cpu_heatmap
Create heatmaps of individual CPU Utilizations over a specified period of time.
https://github.com/kadle11/cpu_heatmap
cpu-monitoring cpu-profiling heatmap
Last synced: 7 months ago
JSON representation
Create heatmaps of individual CPU Utilizations over a specified period of time.
- Host: GitHub
- URL: https://github.com/kadle11/cpu_heatmap
- Owner: Kadle11
- License: mit
- Created: 2020-03-09T17:15:09.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-11T08:13:01.000Z (about 6 years ago)
- Last Synced: 2025-08-25T18:46:02.154Z (8 months ago)
- Topics: cpu-monitoring, cpu-profiling, heatmap
- Language: Python
- Homepage:
- Size: 43 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CPU Heatmap Generator
This repository uses the seaborn module in python to create a heatmap of each CPUs Utilization over a specified period of time.
## Requirements
A. Python3 Libraries
1. Matplotlib
2. Seaborn
3. Numpy
B. System Activity Report (SAR) tool on Linux
## Usage
```
./Parser.sh
./Parser.sh 0,1,2,3,4,5,6,7 10
```
The heatmap obtained will look something like this.

Here the X-axis is a plot of the timespan specified (10s) and the Y-axis corrosponds to the Number of Cores.
This heatmap indicates individual CPU utilization during every second of the workload.
To change the number of cores, open ```CPU_Heatmap.py``` and change the value of ```numCPU```
**_Example of a 1 minute workload on a 32-Core (Logical) machine_**
