Skip to content

Instantly share code, notes, and snippets.

View pucgenie's full-sized avatar

pucgenie

  • <insert gibberish here> Digital
  • EU
View GitHub Profile
@pucgenie
pucgenie / measurepi.sh
Last active October 16, 2022 19:43 — forked from tmuka/measurepi.sh
Measure Raspberry Pi CPU / GPU / Core / SD clock speeds and check whether you are undervolted
#!/bin/sh
# This bash script outputs the status of your Pi and checks whether you are being throttled for undervoltage and gives you your temperature
# Article and discussion at https://jamesachambers.com/measure-raspberry-pi-undervoltage-true-clock-speeds/
# Author James A Chambers 6-6-17
# updated throttle reason codes by tmuka 2021-10
# updated dash-compatible by pucgenie 2022-10
# Output current configuration
vcgencmd get_config int | grep -E "(arm|core|gpu|sdram)_freq|over_volt"