Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

system-resource-monitor

bởi passersss

Coding Agents & IDEs
5.0kLượt tải do clawskills.sh công bố
4Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

A clean, reliable system resource monitor for CPU load, RAM, Swap, and Disk usage.

Mô tả

Kỹ năng này làm gì

A skill that reports server health by running a local shell script and returning CPU load averages, RAM, swap, and disk usage in a concise summary. Uptime is included. Relies on native system calls rather than external agents.

Uses native system calls instead of third-party monitoring daemons, so it works on any Unix-like server without installing additional software.

Khi nào nên dùng

  • Checking CPU load before launching a resource-intensive job
  • Verifying free disk space before a large file transfer
  • Reviewing RAM and swap pressure on a low-memory VPS
  • Confirming server uptime after a scheduled reboot
  • Getting a quick health snapshot during active incident triage

Quy trình ví dụ

ĐẦU VÀO

User asks: What's the current server health?

AGENT
  1. 1

    Receives the request and maps it to the system resource monitor skill

  2. 2

    Executes the local ./scripts/monitor.sh script

  3. 3

    Collects output for CPU 1/5/15-minute load averages, RAM and swap usage, and root disk capacity

  4. 4

    Formats the collected metrics into a structured health report

  5. 5

    Returns the report with uptime included

ĐẦU RA

A summary showing CPU load averages, RAM and swap usage percentages, disk capacity and usage, and how long the server has been running

Cài đặt

clawhub install passersss/system-resource-monitor

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết