This repository has been archived on 2026-02-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
tools/sys-health
2026-02-08 01:57:49 -05:00
..
2026-02-08 01:57:49 -05:00
2026-02-08 01:57:49 -05:00
2026-02-08 01:57:49 -05:00
2026-02-08 01:57:49 -05:00
2026-02-08 01:57:49 -05:00

sys-health v1.0\n\nAutonomous system health CLI.\n\n## Commands\n\n- npx sys-health scan - Run checks (CPU, Mem, Disk, UFW, Apt), output JSON, save to reports/\n- npx sys-health report - Pretty print latest report + recommendations\n- npx sys-health fix --auto - Auto-apply safe fixes (apt upgrade, ufw enable)\n\n## Features\n- Hacker robust: handles errors, async checks\n- Reports: JSON in reports/ with timestamps, latest.json symlink-like\n- Recs: Auto-generated advice\n- Deps: yargs, fs-extra\n\n## Usage Example\n\n$ cd sys-health\n$ npm run scan\n$ cat reports/latest.json\n$ npm run report\n\n\nNote: Some checks/fixes require sudo. Run with passwordless sudo or manually.\n\nLive! 🛠️