homeserver/roles/mgrote.apt_install_packages/templates/hddtemps.sh

3 lines
203 B
Bash
Raw Normal View History

2020-08-18 11:57:53 +02:00
#!/bin/bash
2021-02-12 10:32:22 +01:00
watch --interval 10 --differences --color --no-title "sudo hddtemp /dev/disk/by-id/ata-* | grep -v "part" | sed -r 's#(/dev/disk/by-id/ata-)([^:]+).*: ([0-9]{1,3}°C)#\3\t\2#g' | sort -n -r"