Repository navigation
Release v2.1.0 π - Docker Engine, Cacti Monitoring, Auto-Release & ZIP Download Bundle
Latestπ§Ή System Cleanup & Space Optimization Script - v2.1.0
Production-grade, automated Linux (Ubuntu / Debian), Proxmox VE, Docker Engine, and Cacti Network Monitoring disk cleanup tools.
π What's New in v2.1.0
- π³ Zero-Downtime Docker Optimization (\docker/Docker_log.sh):
- Safely truncates container JSON logs (*-json.log) to \οΏ½\ bytes while containers are actively running without stopping them.
- Prunes dangling untagged images, stopped containers, and build cache.
- Strictly preserves all persistent Docker volumes.
- π΅ Cacti & Spine Log Optimization (\cacti/cacti_log.sh):
- Auto-detects standard Cacti directories (/var/log/cacti/, /var/www/html/cacti/log/, etc.) and Spine poller logs.
- Truncates \cacti.log\ and \spine.log\ while strictly keeping file ownership and permissions intact.
- Deletes rotated .gz\ and numeric archives.
- 100% RRA / Graph Safety: All .rrd\ metric files and
ra/\ directories are strictly preserved. - Multi-service cleaner \ubuntu/cleaning.sh\ also updated to include Cacti logs.
- π¦ Pre-Packaged Download Bundles:
- Attached pre-packaged .zip\ and .tar.gz\ archives with executable permissions pre-configured on all shell scripts.
- Instant direct download links added to README and Web Portal.
- π€ Automated Continuous Delivery (GitHub Actions):
- Added auto-release workflow with semantic versioning tag calculation on push to \main.
- π Web Portal Parity:
- Added Cacti and Docker tabs to the interactive terminal emulator.
- Updated 4-way side-by-side feature matrix.
π¦ Download Assets
- System-Cleanup-Script-v1.0.0.zip
- System-Cleanup-Script-v1.0.0.tar.gz
- System-Cleanup-Script-latest.zip
- Source Code (ZIP)
β‘ Quick One-Liner Execution
\\οΏ½ash
Ubuntu / Debian (Recommended)
curl -sSL https://raw.githubusercontent.com/sohag1192/System-Cleanup-Script/main/ubuntu/log_cleanup.sh | sudo bash
Proxmox VE (Storage Safe)
curl -sSL https://raw.githubusercontent.com/sohag1192/System-Cleanup-Script/main/proxmox/proxmox-cleanup.sh | bash
Docker Engine (Zero Downtime)
curl -sSL https://raw.githubusercontent.com/sohag1192/System-Cleanup-Script/main/docker/Docker_log.sh | sudo bash
Cacti Monitoring (.rrd Safe)
curl -sSL https://raw.githubusercontent.com/sohag1192/System-Cleanup-Script/main/cacti/cacti_log.sh | sudo bash
\\
Full Changelog: V.2.0...v2.1.0