A cross-distro Bash-based system monitoring tool with a graphical interface powered by Zenity
. This tool provides real-time insights about your system such as CPU, RAM, battery, disk, network usage, hardware info, and more — all accessible via a friendly GUI.
- System Overview: Hostname, OS, kernel, architecture, uptime, and more
- CPU: Live usage, temperature, core count, power mode
- RAM: Total usage, available memory
- Disk: Usage details, storage info
- Network: Bandwidth monitoring via
ifstat
orvnstat
- Processes: View top running processes
- Battery Status (for laptops)
- Wi-Fi Connected Devices (via
arp-scan
) - Hardware Details (via
lshw
) - Simple graphical menu using
Zenity
- Automatic cross-distro package installer (supports Debian, Ubuntu, Arch/Manjaro, and Fedora)
- Clone or download the project:
git clone https://github.com/yourusername/linux-system-monitor.git cd linux-system-monitor
- Make the script executable:
chmod +x system_monitor.sh
- Run the script:
./system_monitor.sh
It will:
- Detect your Linux distribution
- Install all required packages (via apt, pacman, dnf, or AUR with yay)
- Launch the Zenity-based GUI menu
The script automatically installs these if not already present:
- zenity
- lm-sensors
- acpi
- arp-scan
- vnstat
- gnuplot
- gtk3 or libgtk-3-dev
- lshw
- xdpyinfo
- ifstat (via AUR on Arch-based distros)
- Debian / Ubuntu
- Arch / Manjaro
- Fedora
- For network and hardware-related info, the script uses tools that may require superuser access (e.g., lshw, arp-scan).
- AUR helper yay will be installed automatically on Arch-based systems if not already present.