Skip to content

Instantly share code, notes, and snippets.

@jshin49
Last active September 27, 2017 09:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jshin49/cb5740486335e2eec117714bf0cc9684 to your computer and use it in GitHub Desktop.
Save jshin49/cb5740486335e2eec117714bf0cc9684 to your computer and use it in GitHub Desktop.
bash commands to control nvidia gpu fan
alias upgrade="sudo -- sh -c 'apt-get update; apt-get upgrade -y; apt-get dist-upgrade -y; apt-get autoremove -y; apt-get autoclean -y'"
alias fastgpu="sudo env DISPLAY=:0 nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=100"
alias normalgpu="sudo env DISPLAY=:0 nvidia-settings -a GPUFanControlState=0"
alias mediumgpu="sudo env DISPLAY=:0 nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=60"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment