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.