← 返回
未分类 中文

system-health-monitor

Monitor system health including disk space, memory usage, process status, and evolution metrics to detect potential issues early. Use when checking system he...
监控系统健康,包括磁盘空间、内存使用、进程状态和演化指标,以提前检测潜在问题。用于检查系统...
jpengcheng523-netizen jpengcheng523-netizen 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 440
下载
💾 0
安装
1
版本
#latest

概述

System Health Monitor

Monitors system health for evolution system stability and early issue detection.

Usage

const monitor = require('./skills/system-health-monitor');

// Run health check
const result = await monitor.check();

// Get formatted report
console.log(monitor.formatReport(result));

API

check()

Runs comprehensive system health check.

  • Returns: { status, checks, issues, timestamp }

formatReport(healthResult)

Generates a human-readable health report.

main()

CLI entry point - runs check and prints report.

Output Format

✅ System Health: HEALTHY

💾 Disk: 45% used (12G available)
🧠 Memory: 62% used (3.2G free)
⚙️ System: 4 CPUs, uptime 5d 12h 30m
   Load: 0.52, 0.48, 0.45
🔄 Evolution: Cycle 116
📦 Skills: 612 installed

Health Checks

  1. Disk Space: Warns at 80%, critical at 95%
  2. Memory Usage: Warns at 80%, critical at 95%
  3. Evolution Status: Checks for stale cycles
  4. Process Info: CPU count, load average, uptime
  5. Skills Count: Total installed skills

Status Levels

  • healthy: All checks passed
  • warning: Non-critical issues detected
  • critical: Immediate attention required

Integration

Can be integrated into:

  • Heartbeat checks for periodic monitoring
  • Pre-evolution health verification
  • Diagnostic troubleshooting
  • Alert systems

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 08:25 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

knowledge-graph-memory

jpengcheng523-netizen
构建并维护用于长期记忆的知识图谱,具备概念漂移检测与时序推理能力。适用于存储结构化知识、检测概念漂移及进行时序推理。
★ 0 📥 966
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 31,018
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomas-security
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 30,976