Quick setup just for get notifications
- lm-sensors
- postfix
For ubuntu subsystems, create a .desktop file with these content, on ~/.config/autostart
folder:
[Desktop Entry]
Encoding=UTF-8
Name=Sctipt
Exec=YOUR_SCRIPT_PATH
Terminal=false
X-MultipleArgs=false
Type=Application
StartupNotify=true
To get a main disk use percentage on every user login
Obviously change paths. Configure a crontab:
*/10 * * * * bash YOUR_SCRIPT_PATH/sensors.sh