/install uptime-tool
Uptime Tool — System Uptime & Load Monitor
Display how long the system has been running since last boot, current user sessions, and CPU load averages. Essential for health checks, reboot verification, and capacity monitoring.
Quick Start
# Show system uptime
uptime-tool
# Show uptime plus JSON output for monitoring
uptime-tool --json
Usage
uptime-tool [OPTIONS]
Options:
--json Output as structured JSON
--pretty Human-readable format with emojis (default)
--since Show boot time timestamp
--seconds Show uptime in seconds only
--compare Compare with last-known value (requires --state-file)
--watch N Monitor continuously, N second intervals
--alert N Alert if uptime \x3C N seconds (short uptime = recent reboot)
Examples
# Standard uptime output
uptime-tool
# Machine-readable JSON for monitoring
uptime-tool --json
# Show boot time
uptime-tool --since
# Watch every 30 seconds
uptime-tool --watch 30
# Alert if system just rebooted (\x3C 60 seconds uptime)
uptime-tool --alert 60
# Uptime in seconds for scripts
uptime-tool --seconds
Features
- Standard uptime display with load averages
- JSON output for monitoring pipelines
- Boot time detection (when did the system start?)
- Continuous watch mode for real-time monitoring
- Alert thresholds for restart detection
- Compare mode detects unexpected reboots
- Cross-platform — works on Linux, macOS, BSD
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install uptime-tool - After installation, invoke the skill by name or use
/uptime-tool - Provide required inputs per the skill's parameter spec and get structured output
What is Uptime Tool?
Show system uptime, load average, active user count, and boot time. Use for system health checks, monitoring, and diagnostics. It is an AI Agent Skill for Claude Code / OpenClaw, with 48 downloads so far.
How do I install Uptime Tool?
Run "/install uptime-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Uptime Tool free?
Yes, Uptime Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Uptime Tool support?
Uptime Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Uptime Tool?
It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.