x-smart

Monitor disk health, temperature, and attributes using smartctl on POSIX systems.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires x-cmd, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The x-smart Skill solves the problem of manually checking disk health, providing a convenient way to monitor disk health, temperature, and attributes using smartctl.

Core Features & Use Cases

  • Disk Health Monitoring: Checks disk health, temperature, and attributes using smartctl.
  • Compatibility: Designed for POSIX Shell, working on systems with just POSIX shell.
  • Dependency: An x-cmd module, requires x-cmd to be installed first.
  • Use Case: Monitor the health of your system's disk and get alerts if there are any issues.

Quick Start

Check the health of your disk with:

x smart -a /dev/sda

Frequently Asked Questions about x-smart

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

FAQPage Schema
How do I check disk health and SMART attributes from the command line?

You can check disk health by running SMART tools via the command line. This skill leverages smartctl to read disk health, temperature, and attributes, providing direct reports on potential storage failures.

Can I monitor disk temperature and health on a POSIX shell system?

Yes, you can monitor disk temperature and health on a POSIX shell system. The skill is specifically designed for POSIX-compliant environments, using smartctl to query storage devices without requiring extra shell dependencies.

Do I need x-cmd installed to use smartctl for disk monitoring?

Yes, you need x-cmd installed because this disk monitoring skill is an x-cmd module. It relies on the x-cmd environment to execute smartctl commands and retrieve system storage health data.

What is the best way to identify potential disk failures using SMART tools?

The best way to identify potential disk failures is by querying SMART tools for disk attributes. This skill uses smartctl to monitor system storage, reporting on health issues and temperature anomalies that indicate hardware degradation.

How do I get a full disk health report for a specific drive?

To get a full disk health report for a specific drive, execute a SMART tools query targeting the device path. The skill processes the smartctl output to identify and report potential disk failures or health issues for that device.