Comprehensive system diagnostic and troubleshooting tool for Debian Linux and derivatives (Ubuntu, Mint, Pop!_OS, etc.)
Monitor disk usage with configurable warning thresholds and identify space-consuming directories
Track RAM and swap usage, detect memory leaks, and optimize system performance
Monitor critical system services and automatically detect failed or degraded services
Test connectivity, DNS resolution, and network configuration issues
Verify APT configuration, check for broken packages, and validate repositories
Guided diagnosis with specific fixes and solutions for common problems
$ sudo ./debian_doctor.sh ═══════════════════════════════════════════════════════════════ 🩺 DEBIAN DOCTOR 🩺 System Diagnostic and Troubleshooting Tool ═══════════════════════════════════════════════════════════════ ━━━━━━━━━━━━━━━━━━━━━━ System Information ━━━━━━━━━━━━━━━━━━━━━━ ℹ OS: Ubuntu 22.04.3 LTS ℹ Kernel: 5.15.0-91-generic ℹ Architecture: x86_64 ℹ Uptime: 15 days, 3:42 ━━━━━━━━━━━━━━━━━━━━━━ Disk Space Check ━━━━━━━━━━━━━━━━━━━━━━ ✓ Root filesystem (/): 45% used (OK) ⚠ /home: 87% used (WARNING - Above 85% threshold) ✓ /var: 62% used (OK) ━━━━━━━━━━━━━━━━━━━━━━ Memory Status ━━━━━━━━━━━━━━━━━━━━━━ ✓ RAM Usage: 4.2GB / 16GB (26%) ✓ Swap Usage: 0.5GB / 4GB (12%)
sudo snap install debian-doctor
sudo snap connect debian-doctor:system-observe
sudo snap connect debian-doctor:hardware-observe
debian-doctor