expanded a bit on togglecpu_pstates.sh

main
Luka Prinčič 2022-09-11 00:09:14 +02:00
parent 2d87ad2841
commit 9080d0dbd0
1 changed files with 6 additions and 0 deletions

View File

@ -1,10 +1,16 @@
#!/usr/bin/env bash
#
# run something like
# $ togglecpu_pstates.sh performance
#
# script to change the power and cpu throttle governor
# with new intel_pstates. use at your own risk
# this also uses the 'old' cpufreq-set to ensure that
# also the 'old' system is set the same way.
# this script ends with actively showing current frequencies.
# exit with ctrl+c.
if [[ -z $1 ]]; then
echo "error. no argument."
echo "use [performance|default|power]"