docs: Fix sudo position in CPU scaling governor command (#4142)

This commit is contained in:
George G 2019-01-24 14:55:59 +00:00 committed by Ivan Blinkov
parent a8524b6e36
commit af81d3cf0d
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ You can use `turbostat` to view the CPU's actual clock rate under a load.
Always use the `performance` scaling governor. The `on-demand` scaling governor works much worse with constantly high demand.
```bash
sudo echo 'performance' | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
echo 'performance' | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
```
## CPU Limitations

View File

@ -21,7 +21,7 @@ Turbo-Boost крайне не рекомендуется отключать. П
Нужно всегда использовать `performance` scaling governor. `ondemand` scaling governor работает намного хуже при постоянно высоком спросе.
```bash
sudo echo 'performance' | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
echo 'performance' | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
```
## Ограничение CPU

View File

@ -21,7 +21,7 @@ You can use `turbostat` to view the CPU's actual clock rate under a load.
Always use the `performance` scaling governor. The `on-demand` scaling governor works much worse with constantly high demand.
```bash
sudo echo 'performance' | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
echo 'performance' | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
```
## CPU Limitations