command module
Version: v1.7.1 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2021 License: MIT Imports: 8 Imported by: 0


gdu - Go Disk Usage

Build Status codecov Go Report Card

Pretty fast disk usage analyzer written in Go.

Gdu is intended primarily for SSD disks where it can fully utilize parallel processing. However HDDs work as well, but the performance gain is not so huge.


Head for the releases and download binary for your system.

Using curl:

curl -L | tar xz
chmod +x gdu-linux-amd64
mv gdu-linux-amd64 /usr/bin/gdu

Arch Linux:

yay -S gdu


brew tap dundee/taps
brew install gdu


go get -u


gdu                                 # show all mounted disks
gdu some_dir_to_analyze             # analyze given dir
gdu -log-file=./gdu.log some_dir    # write errors to log file
gdu -ignore=/sys,/proc /            # ignore some paths

Running tests

make test


Scanning 80G of data on 500 GB SSD.

Tool Without cache With cache
gdu / 6.5s 2.5s
dua / 8s 2s
godu / 8.5s 3s
du -hs / 44s 4.5s
duc index / 47s 5s
ncdu / 54s 12s

Gdu is inspired by ncdu, godu, dua and df.


The Go Gopher

There is no documentation for this package.

Source Files


Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL