Skip to content

Commit

Permalink
add cpu frequency scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
hackwa committed Feb 3, 2016
1 parent 0fc5a4f commit 7e0c830
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ alias super='sudo sudo su -'
alias gomu='sudo /sbin/ip a'
alias luff='ssh [email protected] -D 9999'
alias tmux="TERM=screen-256color-bce tmux"

alias powerdown="echo 700000 | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq;echo 1000000 | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
alias powerup="echo 2400000 | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;echo 2400000 | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq"

#if [[ $TERM == screen]; then
#function precmd() {
Expand Down

0 comments on commit 7e0c830

Please sign in to comment.