Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
ncdu:
ncdu 1.10 ~ Use the arrow keys to navigate, press ? for help
--- / ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
964.7MiB [##########] /var
796.4MiB [######## ] /usr
649.0MiB [###### ] /lib
96.7MiB [# ] /boot
13.2MiB [ ] /sbin
9.0MiB [ ] /bin
6.2MiB [ ] /etc
1.4MiB [ ] /home
804.0KiB [ ] /run
684.0KiB [ ] /root
e 16.0KiB [ ] /lost+found
12.0KiB [ ] installimage.debug
8.0KiB [ ] /mnt
8.0KiB [ ] /media
8.0KiB [ ] /tmp
4.0KiB [ ] /dev
4.0KiB [ ] /lib64
e 4.0KiB [ ] /srv
e 4.0KiB [ ] /opt
4.0KiB [ ] installimage.conf
. 0.0 B [ ] /proc
0.0 B [ ] /sys
@ 0.0 B [ ] initrd.img.old
@ 0.0 B [ ] initrd.img
@ 0.0 B [ ] vmlinuz.old
@ 0.0 B [ ] vmlinuz
root@xenwords ~ # du -sh /
du: cannot access '/proc/14516/task/14516/fd/3': No such file or directory
du: cannot access '/proc/14516/task/14516/fdinfo/3': No such file or directory
du: cannot access '/proc/14516/fd/3': No such file or directory
du: cannot access '/proc/14516/fdinfo/3': No such file or directory
2.5G /
root@xenwords ~ # df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg0-root 20G 15G 4.2G 78% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 361M 4.0K 361M 1% /dev
tmpfs 75M 804K 74M 2% /run
none 5.0M 0 5.0M 0% /run/lock
none 372M 0 372M 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/md0 488M 99M 363M 22% /boot
root@xenwords ~ #
root@xenwords ~ # for i in mnt tmp media opt srv;do sudo du -sh /$i;done
8.0K /mnt
8.0K /tmp
8.0K /media
4.0K /opt
4.0K /srv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment