A user-friendly, colorful terminal disk usage utility that improves upon the traditional 'df' command.
duf is a command-line disk usage utility designed as a better alternative to the traditional 'df' command. It provides a colorful, user-friendly, and highly customizable display of disk space and inode information across various filesystems and mount points. It solves the problem of parsing dense, monochrome output from standard tools by presenting data in an immediately understandable visual format.
System administrators, DevOps engineers, and developers who frequently work in the terminal and need to quickly assess disk usage across local and remote systems. It's particularly useful for those managing servers, containers, or multi-disk environments.
Developers choose duf over `df` for its superior readability, customization options, and modern terminal experience. Its unique selling point is the immediate visual clarity through color-coding and adaptive formatting, combined with powerful filtering and JSON export capabilities not found in standard Unix tools.
Disk Usage/Free Utility - a better 'df' alternative
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides user-friendly, colorful output that automatically adjusts to terminal theme and width, transforming dense disk data into an immediately readable format. From the README: it 'adjusts to your terminal's theme & width' for optimal presentation.
Allows grouping and filtering devices by type, mount point, or filesystem, and sorting by criteria like size or usage, enabling focused analysis. The README shows examples like '--only local,network' and '--sort size' for flexible control.
Can output disk usage data in JSON format with the '--json' flag, facilitating integration with scripts, monitoring tools, and dashboards. This is highlighted as a key feature for automation.
Enables toggling columns, setting custom color thresholds for usage/availability, and showing inode information, offering fine-grained control over the display. The README details options like '--output mountpoint,size' and '--avail-threshold'.
Runs on multiple operating systems including Linux, BSD, macOS, and Windows, with installation via package managers or binaries, ensuring consistency across diverse environments. Installation instructions cover all major platforms.
Conflicts with oh-my-zsh's pre-defined alias for duf, requiring users to manually run 'unalias duf' before use, as noted in the Troubleshooting section, which adds a minor but annoying setup step.
Unlike the standard df command, duf requires separate installation via packages or binaries, which might not be feasible in locked-down, minimal, or legacy systems where tool availability is restricted.
Focuses solely on disk usage and inodes, lacking features for broader system monitoring like CPU, memory, or network statistics, which might necessitate additional tools for comprehensive system checks.
The colorful and formatted output, while visually appealing, may introduce slight performance overhead compared to plain df, especially when processing large numbers of mount points or in JSON mode, though this is not explicitly benchmarked.