Parallel Disk Usage (pdu)

Test Benchmark Clippy Code formatting Lint dependency graph Crates.io Version

Summarize disk usage of the set of files, recursively for directories.

Description

pdu is a CLI program that renders a graphical chart for disk usages of files and directories, it is a replacement of dust and dutree.

Both dust (v0.5.4) and dutree (v0.12.5) do not utilize the parallel computing capability of Rust to improve performance.

Below is a benchmark sample of pdu (v0.0.0) against dust, dutree, and du (lower is better):

benchmark pdu v0.0.0 against dust, dutree, and du

Demo

asciicast of pdu command

asciicast of pdu command on /usr

Installation

Any Desktop OS

From GitHub

Go to the GitHub Release Page and download a binary.

From crates.io

Prerequisites: * cargo

sh cargo install parallel-disk-usage

Arch Linux

From the Arch User Repository

Prerequisites: * An AUR helper, such as paru

sh paru -S parallel-disk-usage-bin

sh paru -S parallel-disk-usage

From Khải's Pacman Repository

Follow the installation instruction then run the following command:

sh sudo pacman -S parallel-disk-usage

Distributions

Packaging Status

Similar programs

License

Apache 2.0 © Hoàng Văn Khải.