https://github.com/crypticsignal/rpi-cpu-stats
A simple bash script to show the current CPU temperature and clock speed of your Raspberry Pi.
https://github.com/crypticsignal/rpi-cpu-stats
Last synced: about 1 year ago
JSON representation
A simple bash script to show the current CPU temperature and clock speed of your Raspberry Pi.
- Host: GitHub
- URL: https://github.com/crypticsignal/rpi-cpu-stats
- Owner: CrypticSignal
- Created: 2020-06-28T11:49:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-29T18:32:31.000Z (over 5 years ago)
- Last Synced: 2025-01-10T20:45:16.494Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Instructions:
- Save stats.sh to your Raspberry Pi.
- Set permission with `chmod +x stats.sh`
- cd into the directory that stats.sh is in, then enter `./stats.sh`
- If you want to continually monitor the stats, enter `watch -n1 ./stats.sh` (where '1' is the update frequency in seconds. Alter if necessary).
# Example of output:
```
Every 1.0s: ./stats.sh FAC: Mon Jun 29 19:30:54 2020
Mon 29 Jun 19:30:54 BST 2020
------------------------------
CPU clock speed: 0.700207 GHz
Temperature: 36°C
```