nowfound

Life & fun · July 10, 2024

Dut – a fast Linux disk usage calculator

"dut" is a disk usage calculator that I wrote a couple months ago in C. It is multi-threaded, making it one of the fastest such programs. It beats normal "du" in all cases, and beats all other similar programs when Linux's caches are warm (so, not on the first run). I wrote "dut" as a challenge to beat similar programs that I used a lot, namely pdu[1] and dust[2]. "dut" displays a tree of the biggest things under your current directory, and it also shows the size of hard-links under each directory as well. The hard-link tallying was inspired by ncdu[3], but I don't like how unintuitive the…

Dut – a fast Linux disk usage calculator launched on July 10, 2024 with 396 votes, #108 of 5,184 launches that month and more than 99% of that year's launches. The site was still online in September 2026, 2 years on.

Visit codeberg.org ↗Alternativestop 2% of July 2024

In plain words

Dut is a Linux disk usage calculator written in C that uses multithreading to analyze directory sizes faster than traditional tools like du. It displays a hierarchical tree of the largest files and folders while tracking hard-link sizes within each directory. Designed for system administrators and developers who need quick disk space analysis, dut is distributed as a single source file for easy installation and can be compiled with a single command.

written from the facts on this page · September 2026

From the sources

dut - A disk usage calculator for Linux

By default, dut will output a tree of the biggest directories it finds under your current directory. The -n 10 option limits it to 10 rows. To limit the depth shown, use -d <n> . The first column in the output tells you how much space a given entry takes up on your disk. This can be an overcount, however, because of hard links (identical files that are only stored once on the disk). Hard links under a directory are deduplicated in the first column's number, but hard links that go outside of a directory to somewhere else will still be counted here. That's where the second column comes in. It tells you how much of an entry's size is shared with other entries outside of it because of hard…from codeberg.org

In the maker’s words, at launch

"dut" is a disk usage calculator that I wrote a couple months ago in C. It is multi-threaded, making it one of the fastest such programs. It beats normal "du" in all cases, and beats all other similar programs when Linux's caches are warm (so, not on the first run). I wrote "dut" as a challenge to beat similar…

Does a similar job

all alternatives →
  • Leaves – A text-UI disk usage treemap visualizerJul 2026 · github.com · ▲93

    GUI disk analyzers are great for figuring out what's filling up your laptop&#x2F;desktop drive. On containers or remote servers, the options are limited to purely text based utilities (e.g. du) or list-centric TUIs (e.g. ncdu) which are usually limited to viewing one directory at a time. I created leaves to fill that gap. Inspired by classic utilities like WinDirStat and KDirStat, it uses a 2-dimensional treemap^1 visualization to show the entire directory hierarchy with proportionally sized rectangles. It's performant enough to handle millions of files, thanks to Rust and multi-threading.…

  • Linux tool to show progress for cp, rm, dd, etc.2014 · github.com · ▲252

    Linux tool to show progress for cp, mv, dd, ... (formerly known as cv) - Xfennec/progress

  • I missed the moving blocks, so I built a real Linux disk defragmenterAug 2026 · github.com · ▲97

    Linux filesystem defragger written in Rust and Qt Quick/Kirigami - gbin/defragger

  • Calc – A fast and intuitive command-line calculator written in Go2015 · github.com · ▲94

    A simple command-line calculator written in Go. Contribute to alfredxing/calc development by creating an account on GitHub.

  • GI
    Going into freshman year, figured I should build an interpreter2023 · ▲138

    Hi all! I'm going into my freshman year, and figured that the best way to prepare for the intro to programming Racket course would be to implement my own garbage-collected, dynamically typed, functional programming language in C ;) Anyways... here's the repo: https:&#x2F;&#x2F;github.com&#x2F;liam-ilan&#x2F;crumb I started learning C over the summer, so I still have a whole lot to learn... Any feedback would be greatly appreciated! :D

  • Disk Space Fan2020 · diskspacefan.com · ▲74

    Fast disk space analyzer with smart visualizations

More life & fun this month

the category →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, July 2024

the whole month →
  • Sugar detox app

    AI · 2024 · apps.apple.com

  • Mobbin 2.0▲1,657

    Discover real-world design inspiration

    Work · 2024 · mobbin.com

  • folk 3.0▲1,591

    The CRM for companies who care about people

    Dev tools · 2024 · folk.app

  • SuperGPT▲1,206

    Use ChatGPT on Google Sheets

    AI · 2024 · superjoin.ai

  • Many years ago, I made VJ softwares (to mix live visuals in clubs) for unexpected platforms like the Game Boy Advance, the Playstation 2 and the Raspberry Pi. This year, I’m back with a new web-app: Pikimov. Inspired by Photopea (a free Photoshop clone), I created this web-based motion design & video editor as an alternative to After Effects, to fill empty void. It's free, without signup, without cloud uploads (your files stay on your machine), and your projects are not used for AI models training.

    AI · 2024 · pikimov.com

  • Motiff▲1,147

    AI powered professional UI design tool

    AI · 2024 · motiff.com