Update README.md

This commit is contained in:
2026-04-19 00:24:44 -03:00
parent 1e5a0d710d
commit 9936a671c0
+12 -1
View File
@@ -7,6 +7,9 @@ The goal is to demonstrate practical shell scripting, defensive automation, clea
| Script | Purpose |
| --- | --- |
| `scripts/cleanup_old_files.sh` | Deletes files older than a defined number of days, with dry-run mode by default. |
| `scripts/server_health_check.sh` | Runs a complete but simple server health check covering CPU, memory, disk, network, ports, and processes. |
| `scripts/ssh_server_menu.sh` | Opens an interactive menu with a list of servers and connects to the selected host through SSH. |
| `scripts/system_health_report.sh` | Collects CPU, memory, disk, network, and service health into a readable report. |
| `scripts/docker_cleanup.sh` | Safely removes unused Docker resources with dry-run support and retention controls. |
| `scripts/postgres_backup.sh` | Creates compressed PostgreSQL backups with validation and retention cleanup. |
@@ -37,7 +40,15 @@ ls scripts
Run a script with help:
```bash
bash scripts/system_health_report.sh --help
bash scripts/cleanup_old_files.sh --help
```
Run the simpler examples:
```bash
bash scripts/cleanup_old_files.sh --path /var/tmp/app --days 30 --dry-run
bash scripts/server_health_check.sh
bash scripts/ssh_server_menu.sh
```
Run the syntax validation helper: