Re: smart fans
> Temperatures of the CPU and GPU I have,
>
> #! /bin/zsh
> #
> # this file:
> # http://user.it.uu.se/~embe8573/conf/.zsh/misc-hw
> # https://dataswamp.org/~incal/conf/.zsh/misc-hw
>
> temperature () {
> local gpu=$(sensors -j | jq -a '.["nouveau-pci-0100"].temp1.temp1_input')
> local cpu=$(sensors -j | jq -a '.["k10temp-pci-00c3"].Tdie.temp1_input')
> echo "GPU ${gpu}C"
> echo "cpu ${cpu}C"
> }
> alias fans=temperature
Unparsed output of sensors(1):
$ sensors
nouveau-pci-0100
Adapter: PCI adapter
GPU core: 912.00 mV (min = +0.80 V, max = +1.19 V)
temp1: +41.0°C (high = +95.0°C, hyst = +3.0°C)
(crit = +105.0°C, hyst = +5.0°C)
(emerg = +135.0°C, hyst = +5.0°C)
k10temp-pci-00c3
Adapter: PCI adapter
Tdie: +33.9°C (high = +70.0°C)
Tctl: +33.9°C
asus-isa-0000
Adapter: ISA adapter
cpu_fan: 0 RPM
--
underground experts united
https://dataswamp.org/~incal
Reply to: