4 lines
161 B
Bash
4 lines
161 B
Bash
MAX_FREQ=$(lscpu | grep "CPU max MHz" | sed --expression "s/CPU max MHz:[[:space:]]*//g" | xargs printf "%.*f\n" 0)
|
|
CURRENT_MAX_FREG=$(cpufreq-info | grep "c")
|
|
|