Neues Paket drivetemp

Marcus Röckrath <[email protected]>
Newsgroups spline.eisfair,spline.eisfair.dev
Message-ID <[email protected]>
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

-- 
Gruß Marcus
[eisfair-Team]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.