← 返回
未分类 中文

Macvital

Check macOS hardware health: CPU usage, RAM pressure, disk space, temperatures, and top processes. Returns a quick status summary or full breakdown. USE WHEN...
检查macOS硬件健康状态:CPU使用率、内存压力、磁盘空间、温度及主要进程,返回快速状态摘要或详细报告。
wrentheai wrentheai 来源
未分类 clawhub v1.0.1 1 版本 99769.6 Key: 无需
★ 0
Stars
📥 433
下载
💾 0
安装
1
版本
#latest

概述

macvital

macOS hardware health monitor. Checks CPU, RAM, disk, temperature, and top resource hogs.

Requirements

  • Python 3 (pre-installed on macOS)
  • Script: scripts/macvital.py
  • Temperature data requires sudo (Apple Silicon only)

Commands

# Quick one-line status (good/warn/critical with icons)
python3 scripts/macvital.py status
python3 scripts/macvital.py status --json   # machine-readable

# Full breakdown
python3 scripts/macvital.py detail

# Top CPU and RAM processes
python3 scripts/macvital.py top
python3 scripts/macvital.py top --n 10

# Temperature only (more accurate with sudo)
python3 scripts/macvital.py temp
sudo python3 scripts/macvital.py temp

# Exit code check (for scripting: 0=ok, 1=warn, 2=critical)
python3 scripts/macvital.py check

# Continuous monitoring
python3 scripts/macvital.py watch
python3 scripts/macvital.py watch --interval 10

Thresholds

MetricWarnCritical
------------------------
CPU70%90%
RAM75%90%
Disk80%90%
Temp80°C95°C

Typical Use (agent workflow)

# Before a heavy task
python3 scripts/macvital.py check
# exit 0 = safe to proceed, exit 1/2 = consider waiting

# Quick heartbeat line
python3 scripts/macvital.py status

# Diagnosing slowness
python3 scripts/macvital.py detail
python3 scripts/macvital.py top

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-30 20:35 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,842
it-ops-security

OpenClaw Backup

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

Recall Local

wrentheai
Local memory search for OpenClaw agents. Runs a lightweight Node.js server that indexes all files in ~/clawd/memory/ plu
★ 0 📥 729