◢ HEALTH MONITOR ◣
MONITORING
ACTIVE
HEALTH CHECK
SYSTEM STATUS
▶ HEALTHY ◀
DATABASE
CONNECTED
REDIS
CONNECTED
SERVER
RUNNING
UPTIME
3m 33s
MEMORY USED
89MB
MEMORY TOTAL
121MB
RSS MEMORY
245MB
[ HEALTH STATUS ]
system@magicine:~# ./health-check
[✓] System health check initiated
[✓] Checking database connection...
[✓] Database: CONNECTED
[✓] Checking Redis connection...
[✓] Redis: CONNECTED
[✓] Checking memory usage...
[✓] Memory: 89MB / 121MB (74%)
[✓] RSS Memory: 245MB
[✓] External Memory: 27MB
system@magicine:~# cat health.json
{
  "status": "healthy",
  "message": "Magicine-Pharma backend healthy",
  "uptime": 213.01,
  "uptime_formatted": "3m 33s",
  "timestamp": "2025-12-11T05:01:25.308Z",
  "memory": {
    "heap_used": 89,
    "heap_total": 121,
    "rss": 245,
    "external": 27
  },
  "database": "connected",
  "redis": "connected"
}
system@magicine:~#