0 Mitglieder und 1 Gast betrachten dieses Thema.
CPU 1${execi 8 sensors | grep 'Core 0'| cut -c15-21}°CCPU 2${execi 8 sensors | grep 'Core 1'| cut -c15-21}°CSockel${execi 8 sensors | grep 'Physical id 0'| cut -c15-21}°C
Sockel ${execi 8 sensors | grep 'Package id 0'| cut -c15-21}°C
~> man who... -m only hostname and user associated with stdin...~>
~> who -mNessie pts/0 2019-07-12 04:23 (:0)~>
kann auch CPU Fan Speed angezeigt werden?
${offset 37}${color8}CPU$color${alignr 35}${hwmon 0 temp 1}° / ${hwmon 0 fan 1}${offset 37}${color8}GPU/MB $color ${alignr 35}${nvidia temp}° / ${hwmon 0 temp 2}°
dann tickt das who auf meiner Susi etwas anders.
sensors|grep fanfan1: 2727 RPM
${execi 8 sensors|grep fan}
Möglich wäre das bei einem tageweise zurückliegenden Login statt der Login-Uhrzeit das Login-Datum ausgegeben wird, mal beobachten..
kuehhe1@HP470:~$ w | sed -n '3p'| awk '{print $4}'Do18
### CPU und Prozesse ###${color0}${font StyleBats:size=12}Y${tab 10}${font}${color1}System:${color} ${hwmon 0 temp 1} °C ${color0}${font StyleBats:size=12}A${tab 10}${font}${color1}CPU:${color} ${hwmon 0 temp 2} °C
System : 38°CCPU: 37°C
+++ TemperaturesCPU temp = 43 [°C]
w | sed -n '3p'
sensors
kuehhe1@HP470:~$ w | sed -n '3p'kuehhe1 tty7 :0 Do18 19:23 m 5:39 0.49 s cinnamon-session --session cinnamon
kuehhe1@HP470:~$ hwmon 0 temp 1Der Befehl 'hwmon' wurde nicht gefunden, meinten Sie: Befehl 'owmon' aus dem deb ow-toolsVersuche: sudo apt install <deb name>
kuehhe1@HP470:~$ sensorscoretemp-isa-0000Adapter: ISA adapterPackage id 0: +38.0°C (high = +100.0°C, crit = +100.0°C)Core 0: +36.0°C (high = +100.0°C, crit = +100.0°C)Core 1: +38.0°C (high = +100.0°C, crit = +100.0°C)Core 2: +37.0°C (high = +100.0°C, crit = +100.0°C)Core 3: +36.0°C (high = +100.0°C, crit = +100.0°C)
? nix mit Temperatur
kuehhe1@HP470:~$ inxi -sSensors: System Temperatures: cpu: 43.0 C mobo: N/A gpu: nvidia temp: 41 C Fan Speeds (RPM): N/A
${hwmon 0 temp 2} °C
CPU: 41 °C
hwmon hatte ich schon versucht, ist nicht vorhanden und wird auch in der Paketverwalt. nicht angeboten:Code: [Auswählen]kuehhe1@HP470:~$ hwmon 0 temp 1Der Befehl 'hwmon' wurde nicht gefunden, meinten Sie: Befehl 'owmon' aus dem deb ow-toolsVersuche: sudo apt install <deb name>
Lesen bildet: http://www.ifxgroup.net/conky.htm
hwmon [device] type n [factor offset] Hwmon sensor from sysfs (Linux 2.6 or higher). Parameter device is the device name and may be omitted if you have only one hwmon device. Parameter type is one of the following.in = Voltage (same as vol)vol = Voltage (same as in)fan = Fan speedtemp = System temperatureParameter n is the number of the sensor. See /sys/class/hwmon/ on your local computer. The optional arguments factor and offset allow pre-calculation of the raw input, which is calculated as: input = input * factor + offset. Note they have to be given as decimal values with at least one decimal place.${hwmon temp 1}°C
~$ sensorscoretemp-isa-0000Adapter: ISA adapterPackage id 0: +44.0°C (high = +100.0°C, crit = +100.0°C)Core 0: +43.0°C (high = +100.0°C, crit = +100.0°C)Core 1: +44.0°C (high = +100.0°C, crit = +100.0°C)Core 2: +43.0°C (high = +100.0°C, crit = +100.0°C)Core 3: +43.0°C (high = +100.0°C, crit = +100.0°C)
Parameter n is the number of the sensor. See "/sys/class/hwmon/" on your local computer.
Etwas schwierig,
/sys/class/hwmon
kuehhe1@HP470:~$ inxi -sSensors: System Temperatures: cpu: 45.0 C mobo: N/A gpu: nvidia temp: 43 C Fan Speeds (RPM): N/A