# muesli/duf

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/muesli-duf).**

14,803 stars · 456 forks · Go · other

## Links

- GitHub: https://github.com/muesli/duf
- awesome-repositories: https://awesome-repositories.com/repository/muesli-duf.md

## Topics

`cli` `df` `disk-space` `disk-usage` `filesystem` `freebsd` `hacktoberfest` `linux` `macos` `openbsd` `terminal` `tui` `user-friendly` `windows`

## Description

Duf is a command-line utility designed to provide a comprehensive overview of disk usage and filesystem statistics. It functions as a terminal-based system monitor that retrieves and displays real-time metrics for mounted devices, including capacity, usage, and inode information.

The tool distinguishes itself through a responsive terminal-aware layout engine that automatically adjusts to console dimensions and supports custom color themes based on usage thresholds. It provides granular control over data presentation, allowing users to filter filesystem reports by device, mount point, or type, and toggle between different views to suit specific monitoring requirements.

Beyond its interactive display capabilities, the utility supports structured data serialization, enabling the export of filesystem metrics in JSON format. This allows for the integration of storage data into external monitoring tools and automated reporting pipelines. The software is built to operate across different operating systems, normalizing mount table information to ensure consistent reporting regardless of the underlying storage configuration.

## Tags

### System Administration & Monitoring

- [Disk Management Utilities](https://awesome-repositories.com/f/system-administration-monitoring/disk-management-utilities.md) — Displays formatted, color-coded statistics for mounted filesystems as a command-line utility.
- [Storage Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/storage-monitoring.md) — Provides real-time monitoring of disk usage, capacity, and mount points in the terminal.
- [System Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/system-monitoring.md) — Functions as a terminal-based system monitor for tracking storage metrics and device information.
- [Disk Usage Analyzers](https://awesome-repositories.com/f/system-administration-monitoring/disk-usage-analyzers.md) — Provides comprehensive disk usage reporting including capacity, usage, and free space metrics. ([source](https://github.com/muesli/duf/blob/master/mounts_linux.go))
- [Threshold Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/threshold-monitoring.md) — Allows users to define custom percentage limits for disk space alerts to trigger color-coded warnings based on storage capacity. ([source](https://github.com/muesli/duf#readme))
- [Filesystem Filters](https://awesome-repositories.com/f/system-administration-monitoring/filesystem-filters.md) — Filters filesystem reports by device, mount point, or type using direct arguments or wildcards. ([source](https://github.com/muesli/duf/blob/master/groups.go))

### Part of an Awesome List

- [File Management](https://awesome-repositories.com/f/awesome-lists/devtools/file-management.md) — A better df alternative.
- [System Monitoring and Diagnostics](https://awesome-repositories.com/f/awesome-lists/devtools/system-monitoring-and-diagnostics.md) — Disk usage and free space utility.

### User Interface & Experience

- [Data View Customizers](https://awesome-repositories.com/f/user-interface-experience/data-view-customizers.md) — Enables users to sort results, toggle column visibility, and switch between block usage and inode information views for tailored data display. ([source](https://github.com/muesli/duf#readme))

### Data & Databases

- [JSON](https://awesome-repositories.com/f/data-databases/data-serialization-formats/data-formats/json.md) — Exports filesystem metrics in JSON format for integration with external monitoring tools. ([source](https://github.com/muesli/duf#readme))
- [Structured Data Exporters](https://awesome-repositories.com/f/data-databases/data-serialization-formats/structured-data-exporters.md) — Converts real-time filesystem metrics into structured JSON for external pipeline integration.
- [Mount Point Resolvers](https://awesome-repositories.com/f/data-databases/persistent-storage-volumes/filesystem-mounts/mount-point-resolvers.md) — Maps specific file paths to their corresponding mount points by evaluating symlinks and identifying the most specific filesystem entry. ([source](https://github.com/muesli/duf/blob/master/filesystems.go))
- [Data Reporting](https://awesome-repositories.com/f/data-databases/data-reporting.md) — Automates the reporting of disk usage data through structured JSON output.
- [Filesystem Mounts](https://awesome-repositories.com/f/data-databases/persistent-storage-volumes/filesystem-mounts.md) — Enumerates active mount points and associated filesystem types for storage overview. ([source](https://github.com/muesli/duf/blob/master/mounts_linux.go))
- [Filesystem Type Classifiers](https://awesome-repositories.com/f/data-databases/persistent-storage-volumes/filesystem-mounts/filesystem-type-classifiers.md) — Identifies and categorizes mounted storage volumes by their underlying filesystem architecture for accurate reporting. ([source](https://github.com/muesli/duf/blob/master/filesystems_freebsd.go))

### Development Tools & Productivity

- [Terminal Layout Engines](https://awesome-repositories.com/f/development-tools-productivity/terminal-layout-engines.md) — Calculates responsive table layouts that adapt to terminal window dimensions.

### DevOps & Infrastructure

- [Pre-aggregation Capacity Managers](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/configuration-policy-enforcement/storage-capacity-planning/pre-aggregation-capacity-managers.md) — Tracks storage capacity and identifies bottlenecks across mounted devices.

### Software Engineering & Architecture

- [Cross-Platform Abstractions](https://awesome-repositories.com/f/software-engineering-architecture/cross-platform-abstractions.md) — Provides a unified interface for querying storage metrics across different operating systems.
- [Data Serialization Formats](https://awesome-repositories.com/f/software-engineering-architecture/data-serialization-formats.md) — Serializes internal filesystem metrics into machine-readable formats like JSON.
