disk-usage

Analyze disk space usage and filesystem information on Linux systems.

2.5k|638|Updated Nov 14, 2023
One-click install
npx skills add https://github.com/UKGovernmentBEIS/inspect_ai --skill disk-usage-ukgovernmentbeis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: disk-usage
Source: https://github.com/UKGovernmentBEIS/inspect_ai/tree/main/examples/skills/skills/disk-usage
Command: npx skills add https://github.com/UKGovernmentBEIS/inspect_ai --skill disk-usage-ukgovernmentbeis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill analyzes disk space usage and filesystem information across Linux systems, helping admins identify space issues and optimize storage.

Core Features & Use Cases

  • Disk usage overview across mounted filesystems
  • Identify large files and directories using common Linux utilities
  • Guidance for capacity planning and troubleshooting storage bottlenecks

Quick Start

Use the disk-usage skill to generate a quick overview of the current system's disk usage by running the included script: ./scripts/diskinfo.sh

Frequently Asked Questions about disk-usage

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

FAQPage Schema
How do I analyze disk usage and identify large files on a Linux system?

You can analyze disk usage by running the included scripts/diskinfo.sh, which orchestrates standard Linux utilities like df, du, and find to generate an automated overview of mounted filesystems and identify large files.

What is the best way to monitor filesystem information for Linux capacity planning?

The best way to monitor filesystem information for capacity planning is by running the diskinfo.sh script, which aggregates storage data from standard Linux utilities to provide insights into disk space and bottlenecks.

Can I use standard Linux utilities like du and df to troubleshoot storage bottlenecks?

Yes, you can troubleshoot storage bottlenecks using standard Linux utilities like du and df. This Skill orchestrates these commands to identify large directories and space constraints across mounted filesystems.

Do I need any additional dependencies to run automated disk space monitoring on Linux?

You do not need additional dependencies to run automated disk space monitoring on Linux. The solution relies entirely on standard utilities like df, du, lsblk, find, and mount, plus the included shell script.

When do I need to check disk space usage across mounted filesystems?

You need to check disk space usage across mounted filesystems during system administration and IT operations tasks to ensure effective monitoring, troubleshoot storage bottlenecks, and perform accurate capacity planning.