◢ HEALTH MONITOR ◣
MONITORING
ACTIVE
HEALTH CHECK
SYSTEM STATUS
▶ HEALTHY ◀
DATABASE
CONNECTED
REDIS
CONNECTED
SERVER
RUNNING
UPTIME
2h 14m 1s
MEMORY USED
71MB
MEMORY TOTAL
76MB
RSS MEMORY
202MB
[ HEALTH STATUS ]
system@magicine:~# ./health-check
[✓] System health check initiated
[✓] Checking database connection...
[✓] Database: CONNECTED
[✓] Checking Redis connection...
[✓] Redis: CONNECTED
[✓] Checking memory usage...
[✓] Memory: 71MB / 76MB (93%)
[✓] RSS Memory: 202MB
[✓] External Memory: 22MB
system@magicine:~# cat health.json
{
  "status": "healthy",
  "message": "Magicine-Pharma backend healthy",
  "uptime": 8041.63,
  "uptime_formatted": "2h 14m 1s",
  "timestamp": "2025-12-29T15:19:51.923Z",
  "memory": {
    "heap_used": 71,
    "heap_total": 76,
    "rss": 202,
    "external": 22
  },
  "database": "connected",
  "redis": "connected"
}
system@magicine:~#