[Eisfair] Neues Paket drivetemp
Marcus Röckrath
marcus.roeckrath at gmx.de
Do Jan 16 08:29:27 CET 2025
Hallo,
Marcus Röckrath wrote:
>> 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=''
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.
--
Gruß Marcus
[eisfair-Team]
Mehr Informationen über die Mailingliste Eisfair