Comprehensive system health checkup including disk health, SMART status, filesystem checks, and overall system status
Comprehensive system health checkup that scans disk SMART status, filesystem health, system resources, critical services, security updates, and logs. Use this when diagnosing system issues, performing preventive maintenance, or verifying server health after updates.
/plugin marketplace add danielrosehill/linux-desktop-plugin/plugin install lan-manager@danielrosehillPerform a comprehensive system health checkup:
Run the following comprehensive diagnostic commands:
Disk Health (SMART):
sudo smartctl --scan to identify all drivessudo smartctl -H /dev/sda for health status (repeat for all drives found)sudo smartctl -A /dev/sda for SMART attributes (repeat for all drives)Filesystem Health:
df -h for disk space on all filesystemssudo btrfs device stats / if using BTRFSmount | grep -E '^/dev'sudo tune2fs -l /dev/sdXY | grep -i 'state\|error' for filesystem stateSystem Resources:
free -h for memory usageuptime for load averagestop -b -n 1 | head -n 20 for process overviewswapon --show for swap statusCritical Services:
systemctl status systemd-journald for logging servicesystemctl status cron or systemctl status crond for task schedulersystemctl --failed for any failed servicesUpdates and Security:
sudo apt-get update to refresh package listsapt list --upgradable to check for available updatesgrep -i security /var/log/apt/history.log | tail -n 20 for recent security updatesSystem Logs:
journalctl -p 3 -b for errors in current bootjournalctl -p 2 -b for critical issues in current bootdmesg | grep -i 'error\|fail\|critical' | tail -n 20 for kernel errorsHardware Status:
sensors for temperature monitoring (if lm-sensors installed)dmesg | grep -i 'hardware error' for hardware errorslspci -v | grep -i 'error' for PCIe errorsAdditional Checks:
sudo grep -i 'failed password' /var/log/auth.log | tail -n 10dmesg | grep -i 'I/O error'Analyze all results and provide:
Summary Report:
Recommendations:
Priority Issues: List any issues in order of urgency:
If smartmontools is not installed, offer to install with sudo apt-get install smartmontools.
If lm-sensors is not installed and temperature monitoring is desired, offer to install with sudo apt-get install lm-sensors.