# Creation: 20.05.2020 chfritsch hwmon_generic_acpi_coretemp_frequency () { # var1=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq` var1=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq` var1=$((var1 / 1000)) show_tab_header ${_HWSUPP_RT_FREQUENCY} no echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "
${_HWSUPP_HWMON_SENSOR}${_HWSUPP_RL_FREQUENCY}
${_HWSUPP_RC_CPU} 0${var1}
" show_tab_footer } hwmon_generic_acpi_coretemp_coretemp () { var_coretemp=`sensors -u k10temp-pci-00c3 | grep temp1_input | cut -d : -f 2` var_coretemp=`echo ${var_coretemp}| sed 's/[^0-9]*\([0-9]*\)\.\([0-9]\{1\}\).*/\1.\2/'` show_tab_header Core-${_HWSUPP_TEMP} no echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "" echo "
${_HWSUPP_HWMON_SENSOR}$Core-${_HWSUPP_RL_TEMP}
K10${var_coretemp}
" show_tab_footer } hwmon_generic_acpi_coretemp () { hwmon_generic_acpi_coretemp_frequency hwmon_generic_acpi_coretemp_coretemp } # _oOo_