pdu
Parallelized disk usage analyzer that renders graphical charts for directory tree analysis
pdu is a CLI directory tree analyzer that calculates and visualizes disk usage with parallel processing. It generates graphical charts showing file and directory sizes, serving as an alternative to tools like dust and dutree. The tool leverages parallel computation to analyze directory structures quickly, displaying results in visual tree formats with customizable depth and chart sizing.
The tool supports hardlink detection and deduplication, progress reporting, and offers both library and JSON interfaces for extensibility. It can output data as JSON using the --json-output flag and accept JSON input with --json-input, enabling integration with other CLI tools through standard Unix pipes. pdu treats all hardlinks as equally real by default but provides options for deduplication when needed.
Benchmark results show pdu performs competitively against similar tools like dust, dua, ncdu, and gdu across different directory sizes. The tool is primarily targeted at system administrators and developers who need fast disk usage analysis with visual output, though it has limitations including ignorance of reflinks from COW filesystems and no symbolic link following.
Installation
# via Pacman
sudo pacman -S parallel-disk-usage
# via Cargo
cargo install parallel-disk-usage --bin pdu

Alternatives & related tools
wiremix
TUI audio mixer for PipeWire that controls volumes, routes audio between devices and applications, and configures audio settings.
kbt
Terminal-based keyboard testing tool for checking key functionality across multiple layouts
g1c
Terminal UI for monitoring and managing Google Cloud VM instances with real-time updates and instance operations
ecscope
TUI for monitoring AWS ECS services, tasks, and containers across multiple clusters and regions in a unified view.
oxker
Rust TUI for viewing and controlling Docker containers, with log viewing, search, filtering, sorting, inspect and exec, configurable via TOML/JSON.
add a badge to your README
Maintain pdu? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/pdu?utm_source=badge)<a href="https://www.trmn.sh/tools/pdu?utm_source=badge"><img src="https://www.trmn.sh/badge/pdu.svg" alt="Featured on trmn" height="20"></a>