Skip to content

About

Smart Ubuntu script to monitor CPU/GPU temperature, downclock hardware when hot, clear memory, and reset zram.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Ubuntu CPU/GPU/RAM Cooler 🐧

A smart Ubuntu script to help keep your system cool and optimize memory usage.
It monitors CPU temperature, downclocks CPU and limits NVIDIA GPU if needed, drops caches, and resets zram.

Performance Warning

This might lower your performance… The script uses CPU downclocking, GPU power limiting, and cache dropping. These actions help cooling but may temporarily reduce system performance, especially during tasks like gaming, rendering, or compiling.

Features

  • Monitor CPU temperature and usage
  • Downclock CPU & limit NVIDIA GPU when hot
  • Clear memory caches (pagecache, dentries, inodes)
  • Reset zram swap if available
  • Detect heavy applications (Chrome, VSCode, Docker Desktop)

Requirements

  • Ubuntu (tested on Ubuntu 24.04.3 LTS)
  • lm-sensors for CPU temperature readings
  • cpupower for CPU frequency management
  • NVIDIA drivers for GPU power control (optional)

Installation

Clone the repository:

git clone https://github.com/tharinfernando/ubuntu-cpu-gpu-ram-cooler.git
cd ubuntu-cpu-gpu-ram-cooler
chmod +x ubuntu-cpu-gpu-ram-cooler.sh

Usage

sudo ./ubuntu-cpu-gpu-ram-cooler.sh

The script will automatically:

  1. Check CPU temperature and usage
  2. Downclock CPU & limit GPU if too hot
  3. Drop caches and reset zram
  4. Warn if heavy apps are running

Notes

Requires sudo to adjust CPU/GPU settings and clear caches

Adjust CPU downclock or GPU power limit directly in the script if needed

About

Smart Ubuntu script to monitor CPU/GPU temperature, downclock hardware when hot, clear memory, and reset zram.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages