Skip to content
cccskills
FreePublished on GitHub

resource-monitor

Live-CPU/RAM/DISK/NET-Dashboard + Top-Prozesse + Alarm.

The English summary is being prepared. Showing the original description.

Run score Not tested

See how to install

Files included (1)

  • SKILL.md2.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Resource Monitor

Live-Terminal-Dashboard für CPU, RAM, Festplatte, Netzwerk und Top-Prozesse mit Alarm bei Schwellwertüberschreitung.

Standort

  • Skript: scripts/resource-monitor.py im OpenAmer Home (~/AppData/Local/openamer-laptop/)
  • Skill: resource-monitor

Verwendung

# Einmalige JSON-Ausgabe
python3 scripts/resource-monitor.py --once

# Live-Modus (aktualisiert alle 2s)
python3 scripts/resource-monitor.py --watch

# Alarm-Modus: Exit-Code 1 bei Überschreitung
python3 scripts/resource-monitor.py --alert

Datenquellen

  • psutil (Python): CPU, RAM, DISK, NET, Prozessliste
  • Keine externen Dependencies (psutil ist bei OpenAmer vorinstalliert)

CLI-Optionen

FlagBeschreibung
--onceEinmalige JSON-Ausgabe aller Metriken
--watchLive-Dashboard (alle 2 Sekunden aktualisiert)
--alertPrüft Schwellwerte, Exit-Code 1 bei Überschreitung

Schwellwerte (Alarme)

MetrikSchwelleBeschreibung
CPU90%Zu hohe CPU-Auslastung
RAM85%Zu hohe Speicherauslastung
DISK90%Zu hohe Festplattenauslastung

Anzeige-Modi

  • Rich (bevorzugt): Farbiges Layout mit Tabellen und Panels
  • Echo+Clear (Fallback): Einfacher Terminal-Output, wenn Rich nicht verfügbar

Anzeige-Inhalte (Live-Modus)

  1. Zeile 1: CPU% | RAM% | DISK% | NET↓↑
  2. Top 5 Prozesse nach CPU
  3. Top 5 Prozesse nach RAM
  4. Letzte Alarme (RAM>85%, DISK>90%, CPU>90%)

Cron-Job

Der Cron-Job resource-monitor-alert läuft alle 5 Minuten im --alert-Modus. Bei Schwellwertüberschreitung wird eine Benachrichtigung ausgelöst.

Troubleshooting

  • psutil nicht gefunden: pip install psutil
  • Rich nicht gefunden: pip install rich (Fallback-Modus wird automatisch genutzt)
  • Keine Daten: Skript benötigt Leseberechtigung für /proc (Linux) oder entsprechende Windows-APIs

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Build integrated IS/BS/CF financial workbooks in Excel.

The English summary is being prepared. Showing the original description.

openamer/openamer8Updated Oct 24, 2026

Run and grow the OpenAmer Agent-to-Agent swarm: identity, trust, node-to-node ask, signed skill/insight sharing, and the autonomous self-learning loop.

The English summary is being prepared. Showing the original description.

openamer/openamer8Updated Oct 24, 2026

Use for A/B experiments on OpenAmer configs and skills.

The English summary is being prepared. Showing the original description.

openamer/openamer8Updated Oct 24, 2026

Roleplay a hostile user to find and triage UX pain points.

The English summary is being prepared. Showing the original description.

openamer/openamer8Updated Oct 24, 2026

Agent mesh: master/worker nodes, HTTP delegation, heartbeat.

The English summary is being prepared. Showing the original description.

openamer/openamer8Updated Oct 24, 2026

Use for agentic commerce payments tasks. Candidate synthesized from trend radar; awaiting trial promotion.

The English summary is being prepared. Showing the original description.

openamer/openamer8Updated Oct 24, 2026

See all skills by openamer

Report a problem with this skill