pdu (Parallel Disk Usage) is a command-line utility for examining the storage consumed by files and directories. It uses parallel directory traversal to collect filesystem information and displays the results as a hierarchical chart in the terminal.
The program emphasises fast scanning and configurable output. Instead of presenting directory sizes as a conventional list, it combines a tree representation with horizontal bars indicating the relative space occupied by different entries. This makes it easier to compare the largest directories and identify which parts of a filesystem deserve further investigation.
pdu provides controls over how much information is displayed and how storage consumption is measured. Users can select the depth of the directory tree, adjust chart dimensions and choose whether to display sizes using decimal, binary or raw byte values.
Its JSON input and output facilities also make it suitable for use in scripts and for processing previously collected information.
This is free and open source software.
Key Features
- Highly parallel directory traversal for disk usage analysis.
- Terminal charts showing the relative sizes of files and directories.
- Compare the storage consumption of multiple input paths.
- Configurable maximum directory tree depth.
- Adjustable chart width and display column sizes.
- Filter entries according to their proportion of total disk usage.
- Measure file lengths, filesystem block sizes or allocated blocks.
- Optional hard-link detection and deduplication.
- Choose decimal, binary or unformatted byte counts.
- JSON output for processing results with other utilities.
- JSON input for rendering previously collected information.
- Optional progress reporting during filesystem scanning.
- Top-down or bottom-up directory tree presentation.
- Options for preserving directory order and controlling error reporting.
Website: github.com/KSXGitHub/parallel-disk-usage
Support:
Developer: Hoàng Văn Khải
License: Apache License 2.0

pdu is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| du alternatives | Programming Language | License |
|---|---|---|
| dust | Rust | Apache License 2.0 |
| duf | Go | MIT License |
| Duc | C | GNU Lesser General Public License v3 |
| Ncdu | C | GNU GPL v2.0 License |
| gdu | Go | MIT License |
| cull | Go | MIT License |
| dua | Rust | MIT License |
| erdtree | Rust | MIT License |
| pdu | Rust | Apache License 2.0 |
| vizex | Python | MIT License |
| godu | Go | MIT License |
| dutree | Rust | GNU General Public License v3 |
| space | Rust | MIT License |
| darya | Rust | GNU General Public License v3.0 |
| diskus | Rust | MIT License or Apache License 2.0 |
| NoxDir | Go | MIT License |
| mcdu | Rust | MIT License |
| dirstat-rs | Rust | MIT License |
| diskonaut | Rust | MIT License |
| bonsai | C++ | GNU General Public License v3.0 |
| diskard | Rust | MIT License or Apache License 2.0 |
| cdu | Perl | GNU General Public License v2.0 |
| tdu | Go | GNU General Public License v2 |
| duviz | Python | MIT License |
| dut | C | GNU General Public License v3.0 |
| whalespotter | Rust | MIT License |
| sn | Rust | BSD 3-Clause “New” or “Revised” License |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.
Why is “support” empty? I have a Patreon (I am the author of pdu).