← 返回
未分类 中文

System Monitor

Monitor system metrics like CPU, memory, disk, and network. Use when user needs to track server performance, set up alerts for high resource usage, monitor u...
监控 CPU、内存、磁盘、网络等系统指标,用于追踪服务器性能、设置高资源使用警报、监控使用情况等。
dinghaibin dinghaibin 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 311
下载
💾 0
安装
1
版本
#latest

概述

System Monitor

Monitor system metrics like CPU, memory, disk, and network.

Quick Start

# Check current status
python scripts/monitor.py --status

# Monitor continuously
python scripts/monitor.py --watch

Usage

python scripts/monitor.py [OPTIONS]

Options:
  --status        Show current system status
  --watch         Monitor continuously
  --interval SECS Check interval (default: 5)
  --cpu           Show CPU usage
  --memory        Show memory usage
  --disk          Show disk usage
  --network       Show network stats
  --processes     Show top processes
  --alert VALUE   Alert threshold (e.g., cpu:90)
  --json          Output as JSON

Examples

# Quick status check
python scripts/monitor.py --status

# Watch mode
python scripts/monitor.py --watch --interval 10

# Alert on high CPU
python scripts/monitor.py --watch --alert cpu:90

# Alert on low disk
python scripts/monitor.py --watch --alert disk:90

# JSON output for dashboards
python scripts/monitor.py --status --json

Alert Examples

# CPU above 90%
python scripts/monitor.py --watch --alert cpu:90

# Memory above 80%
python scripts/monitor.py --watch --alert memory:80

# Disk above 85%
python scripts/monitor.py --watch --alert disk:85

Metrics

  • CPU usage per core
  • Memory usage (used/free/total)
  • Disk usage per partition
  • Network I/O
  • Top processes by CPU/memory
  • Uptime

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 01:31 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 471 📥 78,179
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

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

OpenClaw Backup

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