Dateien zum Ansible Tutorial
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
539 B

#! /bin/bash
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
vcgencmd measure_temp
echo -n "Fan-Speed beim Start: "
cat /sys/devices/platform/cooling_fan/hwmon/hwmon2/fan1_input
sysbench cpu --cpu-max-prime=1000 --threads=4 run >/dev/null 2>&1
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
sysbench cpu --cpu-max-prime=50000 --threads=4 run
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
vcgencmd measure_temp
echo -n "Fan-Speed am Ende: "
cat /sys/devices/platform/cooling_fan/hwmon/hwmon2/fan1_input