This commit is contained in:
Yorhel 2024-09-27 11:18:10 +02:00
parent 477101e733
commit b3c9c7407c
27 changed files with 523 additions and 26 deletions

View file

@ -1,34 +1,49 @@
% NCurses Disk Usage
Ncdu is a disk usage analyzer with an ncurses interface. It is designed to find
space hogs on a remote server where you don't have an entire graphical setup
available, but it is a useful tool even on regular desktop systems. Ncdu aims
to be fast, simple and easy to use, and should be able to run in any minimal
POSIX-like environment with ncurses installed.
Ncdu is a disk usage analyzer with a text-mode user interface. It is designed
to find space hogs on a remote server where you don't have an entire graphical
setup available, but it is a useful tool even on regular desktop systems. Ncdu
aims to be fast, simple, easy to use, and should be able to run on any
POSIX-like system.
**NEWS FLASH!** Ncdu 2.5 adds support for parallel scanning, but it's not
(yet?) enabled by default. To give it a try, run with `-t8` to scan with 8
threads. If you're running an unusual setup, such as networked storage, odd
filesystems, complex RAID configurations, etc, I'd love to hear about the
performance impact of this new feature. Feedback is welcome on the [issue
tracker](https://code.blicky.net/yorhel/ncdu/issues) or through mail @
[projects@yorhel.nl](mailto:projects@yorhel.nl).
<br>
If you want to run benchmarks, `-0 --quit-after-scan` can be useful to disable
the browser interface, or run with `-0o/dev/null` to benchmark JSON export.
## Notable updates
Parallel scanning
: Ncdu 2.5 adds support for parallel scanning, but it's not enabled by
default. To give it a try, run with `-t8` to scan with 8 threads. If you're
running an unusual setup, such as networked storage, odd filesystems,
complex RAID configurations, etc, I'd love to hear about the performance
impact of this new feature. Feedback is welcome on the [issue
tracker](https://code.blicky.net/yorhel/ncdu/issues) or to
[projects@yorhel.nl](mailto:projects@yorhel.nl).[^1]
Binary export
: Ncdu 2.6 adds a new binary export format that better works with parallel
scanning, offers built-in compression and supports browsing directory
trees that are too large to fit in memory. To give it a try, use the `-O`
flag instead of `-o`.
Colors
: Ncdu has had color support since version 1.13. Colors were enabled by
default in 1.17 and 2.0, and then later disabled again in 1.20 and 2.4
because the text was not legible in all terminal configurations.
If you do prefer the colors, add `--color=dark` to your [config
file](/ncdu/man#configuration). Maybe at some point in the future we'll
have colors that *are* readable in every setup.
## Download <a href="/ncdu/feed.atom"><img src="/img/feed_icon.png" alt="Atom feed"></a>
Static binaries
: Convenient static binaries for Linux. Download, extract and run; no
compilation or installation necessary:
[x86](/download/ncdu-2.5-linux-x86.tar.gz) -
[x86_64](/download/ncdu-2.5-linux-x86_64.tar.gz) -
[ARM](/download/ncdu-2.5-linux-arm.tar.gz) -
[AArch64](/download/ncdu-2.5-linux-aarch64.tar.gz).
[x86](/download/ncdu-2.6-linux-x86.tar.gz) -
[x86_64](/download/ncdu-2.6-linux-x86_64.tar.gz) -
[ARM](/download/ncdu-2.6-linux-arm.tar.gz) -
[AArch64](/download/ncdu-2.6-linux-aarch64.tar.gz).
Zig version (stable)
: 2.5 (2024-07-24 - [ncdu-2.5.tar.gz](/download/ncdu-2.5.tar.gz) - [changes](/ncdu/changes2))
: 2.6 (2024-09-27 - [ncdu-2.6.tar.gz](/download/ncdu-2.6.tar.gz) - [changes](/ncdu/changes2))
Requires Zig 0.12 or 0.13.
@ -106,3 +121,8 @@ There's no shortage of alternatives to ncdu nowadays. In no particular order:
- [K4DirStat](https://github.com/jeromerobert/k4dirstat) - Qt, treemap.
- [xdiskusage](http://xdiskusage.sourceforge.net/) - FLTK, with a treemap display.
- [fsv](http://fsv.sourceforge.net/) - 3D visualization.
[^1]: If you want to run benchmarks, `-0 --quit-after-scan` can be useful to
disable the browser interface, or run with `-0o/dev/null` to benchmark JSON
export.