x-df

Integrates disk usage and mount information for system monitoring across platforms.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of understanding disk usage by combining information from df and mount, providing both a raw and a user-friendly view. It detects filesystem types and offers various output formats.

Core Features & Use Cases

  • Combined Information: Provides a comprehensive view of disk usage and mount information.
  • Output Formats: Offers TSV, CSV, TUI, and raw formats for flexibility in usage.
  • Cross-Platform: Works on Linux, macOS, and Windows.
  • Auto-detection: Automatically detects and adjusts the view for interactive mode and piped output.
  • Use Case: When managing server space, this Skill can help identify large files or folders and monitor storage capacity across multiple filesystems.

Quick Start

View disk usage interactively with x df.

Frequently Asked Questions about x-df

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

FAQPage Schema
How do I check disk usage across different filesystems from the command line?

To check disk usage across different filesystems, you can use a POSIX shell command that integrates `df` and `mount` data. This approach detects filesystem types and provides a comprehensive view of storage capacity across Linux, macOS, and Windows.

Can I get disk usage output in CSV or TSV format for scripting?

Yes, you can get disk usage output in CSV or TSV formats for scripting and automation. This functionality supports multiple structured formats alongside TUI and raw views, automatically adjusting output when piped.

Does the df command work the same on macOS and Windows?

The df command implementation varies by OS, but this disk usage analysis tool provides cross-platform compatibility. It standardizes filesystem type detection and mount information integration across Linux, macOS, and Windows.

What is the best way to monitor server storage capacity and identify large filesystems?

The best way to monitor server storage capacity is by combining `df` and `mount` information into a single view. This method detects filesystem types and offers raw or interactive displays to quickly assess storage allocation.

Why does my disk usage analysis show different filesystem types?

Disk usage analysis shows different filesystem types because it explicitly detects and reports the underlying filesystem format for each mount point. Integrating `df` and `mount` data reveals these distinct filesystem types across your system.

Related Skills