8 lines
296 B
Markdown
8 lines
296 B
Markdown
Write a bash healthcheck script that reports:
|
|
- RAM usage %
|
|
- CPU usage %
|
|
- GPU usage % and VRAM usage % if an NVIDIA or AMD GPU is detected
|
|
|
|
Use standard tools only (free, top/vmstat, nvidia-smi, rocm-smi).
|
|
If no GPU is detected, skip that section gracefully.
|
|
Output path: scripts/healthcheck.sh |