Hardware Reference
In-Depth Information
bone#
du -shx /*
5.6M /bin
11M /boot
0 /dev
5.4M /etc
232K /home
66M /lib
16K /lost+found
388M /media
4.0K /mnt
63M /opt
du: cannot access `/proc/20551/task/20551/fd/3': No such file or
directory
du: cannot access `/proc/20551/task/20551/fdinfo/3': No such file or
directory
du: cannot access `/proc/20551/fd/3': No such file or directory
du: cannot access `/proc/20551/fdinfo/3': No such file or directory
0 /proc
227M /root
1.1M /run
5.0M /sbin
4.0K /selinux
4.0K /srv
0 /sys
36K /tmp
1.2G /usr
143M /var
If you booted from the microSD card,
du
lists the usage of the microSD. If you booted
from the onboard flash, it lists the onboard flash usage.
The
-s
option summarizes the results rather than displaying every file.
-h
prints it in
hu-
man
form — that is, using
M
and
K
postfixes rather than showing lots of digits. The
/*
specifies to run it on everything in the top-level directory. It looks like a couple of things
disappeared while the command was running and thus produced some error messages.
TIP
For more help, try
du --help
.