[Eisfair] Neues Paket drivetemp
Nelson Matias
nelson at anires.de
Do Jan 16 17:59:33 CET 2025
Hallo Marcus,
Marcus Röckrath schrieb am Thu, 16 Jan 2025 08:29:27 +0100:
>Neue Version auch mit kleinen Erweiterungen und Code-Optimierungen ist raus:
>
># ./drivetemp -h
> Usage: drivetemp [[-n] <device>|-h]
> drivetemp displays the temperature of drives using the drivetemp module.
>
> If <device>, which has to be given with full path,
> is omitted, temperatures of all drives are displayed.
>
> -m : Shows drive model.
> -n : If device is given, only temperature is printed; deactivates -m, -r
>and -s.
> -r : Shows minimum and maximum temperature.
> -s : Shows drive state.
> -v : Verbose mode; equal to -m -r -s.
> -h : This help.
>
>Kommentare und Fehlerberichte jederzeit willkommen.
Dann kommt noch ein Fehlerbericht:
Es gibt Platten (SSDs) ohne min/max.
root at eis : ~
> drivetemp
/dev/sdh: 32
/dev/sdi: 20
/dev/sdm: 20
/dev/sdj: 18
/dev/sdk: 35
/dev/sdl: 36
/dev/sdn: 32
cat: /sys/class/hwmon/hwmon4/temp1_highest: No such file or directory
/usr/bin/drivetemp: line 103: / 1000: syntax error: operand expected
(error token is "/ 1000") root at eis : ~
> ll /sys/class/hwmon/hwmon4
total 0
drwxr-xr-x 3 root root 0 2025-01-16 17:56 .
drwxr-xr-x 3 root root 0 2025-01-13 22:07 ..
lrwxrwxrwx 1 root root 0 2025-01-13 22:08 device -> ../../../1:0:0:0
-r--r--r-- 1 root root 4096 2025-01-13 22:07 name
drwxr-xr-x 2 root root 0 2025-01-16 07:24 power
lrwxrwxrwx 1 root root 0 2025-01-16 07:24 subsystem ->
../../../../../../../../../class/hwmon -r--r--r-- 1 root root 4096
2025-01-13 22:07 temp1_input -rw-r--r-- 1 root root 4096 2025-01-16 07:24
uevent
Es müsste sich hier um eine Kingston-SSD handeln. Es kann auch sein, das
der Wechselrahmen die Ausgabe verhindert.
--
Gruß
Nelson
Mehr Informationen über die Mailingliste Eisfair