◢ HEALTH MONITOR ◣
MONITORING
ACTIVE
HEALTH CHECK
SYSTEM STATUS
▶ HEALTHY ◀
DATABASE
CONNECTED
REDIS
CONNECTED
SERVER
RUNNING
UPTIME
3d 21h 36m
MEMORY USED
118MB
MEMORY TOTAL
137MB
RSS MEMORY
466MB
[ HEALTH STATUS ]
system@magicine:~# ./health-check
[✓] System health check initiated
[✓] Checking database connection...
[✓] Database: CONNECTED
[✓] Checking Redis connection...
[✓] Redis: CONNECTED
[✓] Checking memory usage...
[✓] Memory: 118MB / 137MB (86%)
[✓] RSS Memory: 466MB
[✓] External Memory: 165MB
system@magicine:~# cat health.json
{
  "status": "healthy",
  "message": "Magicine-Pharma backend healthy",
  "uptime": 336984.03,
  "uptime_formatted": "3d 21h 36m",
  "timestamp": "2026-05-14T21:47:54.937Z",
  "memory": {
    "heap_used": 118,
    "heap_total": 137,
    "rss": 466,
    "external": 165
  },
  "database": "connected",
  "redis": "connected"
}
system@magicine:~#