gdu Is a new console disk usage analyzer, which was developed with speed in mind. It is written in Go and is available for Linux, macOS and Microsoft Windows.
gdu (go to disk usage) and Nandu, A popular console disk usage analyzer, the main difference is: speed. gdu utilizes parallel processing, especially created for solid state drives (SSD). It can also be used with a hard disk drive (HDD), but in this case, the performance improvement is not very large compared to other tools.
The gdu developer has a benchmark section on the tool’s project page, which states that gdu can scan 80G data on a 500 GB SSD (without cache) in 6.5 seconds, while ncdu can perform the same operation in 54 seconds. This is a screenshot of more benchmarks, comparing gdu with du, nnn, etc.:
As for options, gdu will not pack that many.It can display all installed disks (running
gdu (Without parameters), analysis directory (
gdu /path/to/directory), write the error to the log file (
-log-file=/path/to/log/file), ignore the directory (
-ignore-dir=/sys,/proc For example) and use only white/gray/black (
kMove cursor up
jMove cursor down
hGo to parent directory
dDelete selected files or directories
nSort by name (asc / desc)
sSort by size (ascending/descending)
cSort by item (ascending/descending)
Download gdu (use disk)
The tool is available on AUR (Arch Linux/Manjaro), Brew and Snap. In addition, Linux, macOS and Windows binaries are also available on Linux. Publish page. [[Edit]]Now, there is also a gdu DEB package for Linux distributions based on Debian/Ubuntu.