Use it like ncdu -x -q
if you're invoking it remotely (e.g. via ssh) and ncdu -x
otherwise.
ncdu 1.10 ~ Use the arrow keys to navigate, press ? for help
--- / --------------------------------------------------------
6.2GiB [##########] /home
1.9GiB [## ] /var
1.0GiB [# ] /usr
932.4MiB [# ] /old
41.3MiB [ ] /etc
26.1MiB [ ] /lib
14.3MiB [ ] /opt
6.4MiB [ ] /bin
4.6MiB [ ] /sbin
736.0KiB [ ] /root
316.0KiB [ ] /tmp
e 16.0KiB [ ] /lost+found
12.0KiB [ ] /srv
4.0KiB [ ] /lib64
e 4.0KiB [ ] /mnt
e 4.0KiB [ ] /media
e 4.0KiB [ ] /boot
Total disk usage: 10.1GiB Apparent size: 10.1GiB Items: 225079
This is available under Mac OS X too.
The following flags to the command line might be helpful:
-q Quiet mode, doesn't update the screen 10 times a second
while scanning, reduces network bandwidth used
-x Don't cross filesystem borders (don't descend into a
directory which is a mounted disk)
Thanks to Sorin Sbarnea & heinrich5991.