#! /bin/bash
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
while [ 1 ]; do
sudo date >> /tmp/temp.txt
sudo cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq >> /tmp/temp.txt
sudo cat /sys/class/hwmon/hwmon0/device/temp1_input >> /tmp/temp.txt
sleep 20;
done
Keine Kommentare:
Kommentar veröffentlichen