Skip to content

Instantly share code, notes, and snippets.

@zhujunsan
Last active August 29, 2015 14:07
Show Gist options
  • Save zhujunsan/5d127d5c0eb812bc4767 to your computer and use it in GitHub Desktop.
Save zhujunsan/5d127d5c0eb812bc4767 to your computer and use it in GitHub Desktop.
Raspberry Pi Related
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
/opt/vc/bin/vcgencmd measure_temp
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