_dump/device-info.sh

27 lines
296 B
Bash
Raw Permalink Normal View History

2023-10-11 21:29:03 +02:00
#!/bin/sh
# devices info
sudo apt install -y \
hddtemp lm-sensors
sudo hddtemp /dev/sd*
2024-02-24 14:31:19 +01:00
# sudo sensors-detect
sudo sensors
free -h
2024-02-24 14:31:19 +01:00
# sensors
sudo hddtemp SATA:/dev/sda
sudo hddtemp SATA:/dev/sdb
sudo hddtemp SATA:/dev/sdc
sudo hddtemp SATA:/dev/sdd
# hdd details
iostat -dx /dev/sd*