fix(server): event capturing and necessary logic for smoke test.

This commit is contained in:
2026-05-17 03:17:12 +04:00
parent 0c1876a549
commit 7d46f46f01
39 changed files with 1097 additions and 67 deletions
+4
View File
@@ -0,0 +1,4 @@
# healthcheck_execute.md
Run `scripts/healthcheck.sh` and report the results.
If the script fails, report the error and exit code.
+10
View File
@@ -0,0 +1,10 @@
# 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.