Show HN: Dut, a fast Linux disk usage calculator

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

AppSignal - Monitoring that respects your time & budget
APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.
www.appsignal.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. parallel-disk-usage

    Highly parallelized, blazing fast directory tree analyzer

  2. AppSignal

    Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.

    AppSignal logo
  3. dust

    A more intuitive version of du in rust

  4. btdu

    sampling disk usage profiler for btrfs

    Something like that exists for btrfs; it's called bdtu. It has the accuracy/time trade-off you're interested in, but the implementation is quite different. It samples random points on the disk and finds out what file path they belong to. The longer it runs the more accurate it gets. The readme is good at explaining why this approach makes sense for btrfs and what its limitations are.

    https://github.com/CyberShadow/btdu

  5. dedup

    dedup finds and clones duplicate files (by ttkb-oss)

    Did you consider the fts[0] family of functions for traversal? I use that along with a work queue for filtered entries to get pretty good performance with dedup[1].

    0 - https://linux.die.net/man/3/fts_read

    1 - https://github.com/ttkb-oss/dedup/blob/6a906db5a940df71deb4f...

  6. flameshow

    A terminal Flamegraph viewer.

    - my work display flamegraph in terminal: https://github.com/laixintao/flameshow

  7. rust-playground

    The Rust Playground

    > For the FAM, your example looks like it requires a compile-time constant size. That's the same as hardcoding an array size in the struct, defeating the whole point. Short names will waste space, and long ones will get truncated.

    You made me realize that the const generics stabilization work hasn't advanced enough to do what I was proposing (at least not in as straightforward way): https://play.rust-lang.org/?version=nightly&mode=debug&editi...

    Those are const arguments, not const values, which means that you can operate on values as if they didn't have a size, while the compiler does keep track of the size throughout.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Rust project goals: Immobile types and guaranteed destructors

    7 projects | news.ycombinator.com | 2 Aug 2026
  • Fil-C: Garbage In, Memory Safety Out – Filip Pizlo – SSW 2026 [video]

    2 projects | news.ycombinator.com | 24 Jul 2026
  • Int a = 5; a = a++ + ++a; a =? (2011)

    1 project | news.ycombinator.com | 14 May 2026
  • Embedded Rust or C Firmware? Lessons from an Industrial Microcontroller Use Case

    4 projects | news.ycombinator.com | 3 May 2026
  • A simplified model of Fil-C

    2 projects | news.ycombinator.com | 17 Apr 2026