refactor: use gopsutil and go-humanize for preflight checks
Some checks failed
CI/CD / Build & Release (push) Has been cancelled
CI/CD / Lint (push) Has been cancelled
CI/CD / Test (push) Has been cancelled

- Added gopsutil/v3 for cross-platform system metrics
  * Works on Linux, macOS, Windows, BSD
  * Memory detection no longer requires /proc parsing

- Added go-humanize for readable output
  * humanize.Bytes() for memory sizes
  * humanize.Comma() for large numbers

- Improved preflight display with memory usage percentage
- Linux kernel checks (shmmax/shmall) still use /proc for accuracy
This commit is contained in:
2026-01-14 15:47:31 +01:00
parent e0cdcb28be
commit 8c85d85249
4 changed files with 80 additions and 80 deletions

View File

@@ -4,8 +4,8 @@ This directory contains pre-compiled binaries for the DB Backup Tool across mult
## Build Information
- **Version**: 3.42.10
- **Build Time**: 2026-01-14_14:06:01_UTC
- **Git Commit**: 22a7b9e
- **Build Time**: 2026-01-14_14:30:57_UTC
- **Git Commit**: e0cdcb2
## Recent Updates (v1.1.0)
- ✅ Fixed TUI progress display with line-by-line output