10 lines
328 B
Markdown
10 lines
328 B
Markdown
# healthcheck_write.md
|
|
|
|
Write a bash script to `scripts/healthcheck.sh` 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.
|
|
Make the script executable. |