mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-24 14:01:56 +00:00
Update scaling-governor.sh
This commit is contained in:
parent
81ff6dbfd6
commit
397af2d63d
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
|
||||||
clear
|
clear
|
||||||
|
set -e
|
||||||
while true; do
|
while true; do
|
||||||
read -p "Change CPU Scaling Governors. Proceed(y/n)?" yn
|
read -p "Change CPU Scaling Governors. Proceed(y/n)?" yn
|
||||||
case $yn in
|
case $yn in
|
||||||
@ -26,7 +26,7 @@ show_menu(){
|
|||||||
|
|
||||||
echo -e "\n${YW}Current CPU Scaling Governor
|
echo -e "\n${YW}Current CPU Scaling Governor
|
||||||
${BL}${CCSG}${CL}"
|
${BL}${CCSG}${CL}"
|
||||||
printf "\n${BL}********** ${YW}CPU Scaling Governor Selector${CL} ${BL}********${CL}\n"
|
printf "\n$ {fgred}Only Select Available CPU Scaling Governors From Above${CL}\n \n"
|
||||||
printf "${BL}**${YW} 1)${GN} Switch to ${BL}conservative${CL}${GN} CPU Scaling Governor ${CL}\n"
|
printf "${BL}**${YW} 1)${GN} Switch to ${BL}conservative${CL}${GN} CPU Scaling Governor ${CL}\n"
|
||||||
printf "${BL}**${YW} 2)${GN} Switch to ${BL}ondemand${CL}${GN} CPU Scaling Governor ${CL}\n"
|
printf "${BL}**${YW} 2)${GN} Switch to ${BL}ondemand${CL}${GN} CPU Scaling Governor ${CL}\n"
|
||||||
printf "${BL}**${YW} 3)${GN} Switch to ${BL}userspace${CL}${GN} CPU Scaling Governor ${CL}\n"
|
printf "${BL}**${YW} 3)${GN} Switch to ${BL}userspace${CL}${GN} CPU Scaling Governor ${CL}\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user