https://github.com/zzampax/cli-temperature-monitor-nvidia
Simple Python implementation of a Linux based temperature monitor script (build for NVIDIA GPU) that periodically fetches temps and their deltas compared to previous iterations.
https://github.com/zzampax/cli-temperature-monitor-nvidia
linux nvidia-smi python3 unix-shell
Last synced: 8 months ago
JSON representation
Simple Python implementation of a Linux based temperature monitor script (build for NVIDIA GPU) that periodically fetches temps and their deltas compared to previous iterations.
- Host: GitHub
- URL: https://github.com/zzampax/cli-temperature-monitor-nvidia
- Owner: zzampax
- License: agpl-3.0
- Created: 2024-07-24T20:19:32.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-04T07:34:24.000Z (about 1 year ago)
- Last Synced: 2024-12-31T11:44:33.573Z (9 months ago)
- Topics: linux, nvidia-smi, python3, unix-shell
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple-Temperature-Monitor-NVIDIA
Simple Python implementation of a Linux based temperature monitor script (build for NVIDIA GPU) that periodically fetches temps and their deltas compared to previous iterations.
You need to have installed the `lm-sensors` package and the `nvidia-smi` command line tool.
To install `lm-sensors`:
```bash
# For Ubuntu/Debian
sudo apt-get install lm-sensors
# For Arch Linux
sudo pacman -S lm_sensors
# For Fedora
sudo yum install lm_sensors
sudo dnf install lm_sensors
```
To install `nvidia-smi`:
```bash
# For Ubuntu/Debian
sudo apt-get install nvidia-utils
# For Arch Linux
sudo pacman -S nvidia-utils
# For Fedora
sudo yum install nvidia-utils
sudo dnf install nvidia-utils
```
Since the script has a Shebang, you can run it like this:
```bash
./temps
```