Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 1.24 KB

README.md

File metadata and controls

46 lines (27 loc) · 1.24 KB

gdu

Build Status codecov Go Report Card

Pretty fast disk usage analyzer written in Go. Inspired by ncdu, godu and df.

Installation

Go:

go get -u github.com/dundee/gdu

Arch Linux:

yay -S gdu

Usage

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

Benchmark

Scanning 80G of data on 500 GB SSD.

Tool Without cache With cache
gdu / 6.5s 2.5s
godu / 8.5s 3s
du -hs / 44s 4.5s
ncdu / 54s 12s