Last active
August 29, 2015 14:07
-
-
Save zhujunsan/5d127d5c0eb812bc4767 to your computer and use it in GitHub Desktop.
Raspberry Pi Related
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -n "CPU freq: ";cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq;\ | |
echo -n "CPU max: ";cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;\ | |
echo -n "CPU min: ";cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/opt/vc/bin/vcgencmd measure_temp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dhclient -v wlan0 | |
sudo ifdown wlan0&&sudo ifup wlan0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment