[Eisfair] Neues Paket drivetemp
Peter Bäumer
peter at baeumer.duckdns.org
Do Jan 16 07:22:10 CET 2025
Glück Auf! Marcus,
terra # drivetemp -m
/dev/sda: 20 [model: SAMSUNG HD204UI ]
/dev/sdd: 21 [[model: SAMSUNG HD204UI ]model: SAMSUNG HD204UI ]
/dev/sdb: 25 [[[model: SAMSUNG HD204UI ]model: SAMSUNG HD204UI ]model: Hitachi HDS72302]
/dev/sdc: 24 [[[[model: SAMSUNG HD204UI ]model: SAMSUNG HD204UI ]model: Hitachi HDS72302]model: Hitachi HDS72302]
Ein bisschen viel Info ;)
Nach dem letzten fi und vor dem done zwischen Zeile 142 und 143,
add:
addinfo=''
spacer=''
terra # drivetemp -m -s -r
/dev/sda: 22 [min: 16 max: 23 state: running model: SAMSUNG HD204UI ]
/dev/sdd: 22 [min: 16 max: 23 state: running model: SAMSUNG HD204UI ]
/dev/sdb: 27 [min: 18 max: 27 state: running model: Hitachi HDS72302]
/dev/sdc: 26 [min: 18 max: 27 state: running model: Hitachi HDS72302]
MfG
Peter B.
Am 15.01.2025 um 09:28 schrieb Marcus Röckrath:
> Hallo,
>
> aufgrund der Probleme von hddtemp auf einigen Systemen unter dem 6er-Kernel,
> habe ich ein kleines Skript entwickelt, welches vergleichbar zur hddtemp die
> Temperatur von Laufwerken ausgibt, wobei drivetemp das Kernelmodul drivetemp
> nutzt.
>
> Hilfeseite:
> # ./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.
>
> -n : If device is given, only temperature is printed.
> -h : This help.
>
> Alle Laufwerke ausgeben:
> # ./drivetemp
> /dev/sda: 23
>
> Ein spezielles Laufwerk ausgeben:
> # ./drivetemp /dev/sda
> /dev/sda: 23
>
> Ein spezielles Laufwerk (gegeben über ID) ausgeben:
> # ./drivetemp /dev/disk/by-id/ata-ST1000DM003-1SB102_Z9A4HCWR
> /dev/disk/by-id/ata-ST1000DM003-1SB102_Z9A4HCWR (/dev/sda): 23
>
Mehr Informationen über die Mailingliste Eisfair