Live data from Hacker News

Ncdu – NCurses Disk Usage

dev.yorhel.nl

101–110 of 168 posts

Re: Ncdu – NCurses Disk Usage

#101
post #22

The best tool I've used on Windows for that is "Scanner" by Steffen Gerlach: http://www.steffengerlach.de/freeware/

WizTree is vastly faster than the other options presented here (Scanner, SpaceSniffer, WinDirStat).

WizTree v3.33 is the last 'donationware' version vs. free for personal use now.

https://diskanalyzer.com/wiztree-old-versions

Re: Ncdu – NCurses Disk Usage

#104
I recently discovered ncdu while troubleshooting a logging issue in one of servers. Something broke and syslog began to inflate unchecked and consumed the entire disk's worth of space. ncdu helped explore the system and find out where the file was. Great tool.

Re: Ncdu – NCurses Disk Usage

#105
post #55

Broadly, is anyone aware of a generalized list of "new versions of classic tools?" There are so many now that are better than the old stuff; I almost feel like a unified round up of these, maybe even in a distro form, might be good for linux enthusiasts, newcomers, old-timers, etc.

I like iotop. Pretty much exactly what it sounds like - a top-like program for I/O operations. It's also just an apt/yum/dnf install away on most distros.

htop also includes columns for read/write.

There's also more detailed CPU usage you can turn on, including I/O wait.

Use it, it's great.

Re: Ncdu – NCurses Disk Usage

#106
post #86

Earlier quoted context omitted.

OP’s link has a list at the bottom with alternatives (that in itself is very cool). It lists both gdu and a Rust alternative called dua.

See also broot, dust, and pdu for Rust alternatives.

The realest reply

Re: Ncdu – NCurses Disk Usage

#107
post #44

While ncdu does the job I've found gdu (similar tool written in Go) significantly faster for larger directories. https://github.com/dundee/gdu

Someone's gotta write rdu.

you're probably more likely to see jsdu first and then I'll have my buddy explaining to me why it's actually faster

Re: Ncdu – NCurses Disk Usage

#109

Earlier quoted context omitted.

I find myself using WinDirStat on Windows systems, but often use ncdu in WSL.

On Windows, you should switch to WizTree. Rather than recursively calling directory listing functions, it directly reads and parses the file tables itself. This makes it orders of magnitude faster. I have a 2 TB hard drive full of a million files, and WizTree reads and parses it all in under a minute, whereas I can expect WinDirStat to take half an hour. On an SSD, WizTree only takes a couple seconds.

Thanks for the suggestion!

Re: Ncdu – NCurses Disk Usage

#110
post #55

Broadly, is anyone aware of a generalized list of "new versions of classic tools?" There are so many now that are better than the old stuff; I almost feel like a unified round up of these, maybe even in a distro form, might be good for linux enthusiasts, newcomers, old-timers, etc.

What came to my mind is a blog post[0] by Julia Evans

Not exactly what you had in mind but might still be interesting.

[0] https://jvns.ca/blog/2022/04/12/a-list-of-new-ish--command-l...

Post reply on HN