]> apps.delaporte.us Git - dotfiles.git/blob - cheatsheets/raspberry-pi.md
Merge branch 'master' of github.com:edthedev/dotfiles
[dotfiles.git] / cheatsheets / raspberry-pi.md
1
2 ## Overclock
3
4 Watch your speed with one of these commands:
5 ```bash
6 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
7 vcgencmd measure_clock arm
8 watch -n 1 vcgencmd measure_clock arm
9 ```
10
11 To edit the overclock setting:
12 ```bash
13 sudo vi /boot/config.txt
14 ```
15
16 ```ini
17 # uncomment to overclock the arm. 700 MHz is the default.
18 over_voltage=6
19 arm_freq=2000
20 ```
21
22 Reboot to apply changes.
23
24 ```bash
25 sudo reboot
26 ```
27
28 [Explanation of availabe settings](https://haydenjames.io/raspberry-pi-3-overclock/)