x-uptime

Generate system uptime and load averages in YAML format.

4.6k|161|Updated Oct 1, 2022
One-click install
npx skills add https://github.com/x-cmd/x-cmd --skill x-uptime
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-uptime
Source: https://github.com/x-cmd/x-cmd/tree/main/mod/uptime
Command: npx skills add https://github.com/x-cmd/x-cmd --skill x-uptime

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the retrieval of system uptime and load averages, transforming complex system metrics into easy-to-understand YAML output.

Core Features & Use Cases

  • Structured Output: Provides uptime, user count, and load averages in a YAML format for easy parsing.
  • Cross-Platform Compatibility: Works on Linux, macOS, and Windows, offering flexible system insights.
  • Auto-Detection of Backends: Automatically selects the most suitable backend (native, busybox, or cosmo) for the system environment.

Quick Start

Retrieve system uptime and load averages in YAML format with 'x uptime'.

Frequently Asked Questions about x-uptime

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get system uptime and load averages in YAML format?

You can retrieve system uptime and load averages in YAML format by querying system-specific information and packaging it into a structured output. This approach provides uptime, user count, and load metrics for easy parsing.

Can I monitor system uptime and load averages on Windows?

Yes, you can monitor system uptime and load averages on Windows. The tool provides cross-platform compatibility by requiring appropriate fallbacks for Windows environments, while supporting native commands on Linux and macOS.

What is the best way to parse system load averages for performance analysis?

The best way to parse system load averages for performance analysis is to generate the metrics in a structured YAML format. This output includes uptime and user count, making it easy to parse for system monitoring tasks.

How does the tool detect the backend for system monitoring on different platforms?

The tool detects the backend for system monitoring by automatically selecting the most suitable option for the environment. It evaluates the system to choose between native, busybox, or cosmo backends to retrieve metrics.

Do I need to install dependencies to retrieve system uptime and load metrics?

No, you do not need to install dependencies to retrieve system uptime and load metrics. The tool operates by querying native system commands directly, using appropriate fallbacks only when necessary for specific environments like Windows.