next up previous contents
Next: top: Show Top Processes Up: Verifying System Behaviour Previous: df: Disk Space   Contents

du: Directory Usage

du [-ks] directory...
where
k
: Use units of kb (1024 bytes) for size.
s
: Display summary only.
directory
: Is the directory where du is to start reporting sizes.

The default behaviour of du is to show the sizes of all directories, beginning with the current directory. Optionally, a starting point may be used (directory above).

The following shows the output from du -ks * issued within the /usr/local directory of gold.sao.nrc.ca:

prompt> du -ks *
865     PowerMonII
6730    adobe
10548   aswedit
153801  bin
2348    catman
975     data
9978    doc
13688   emacs
89424   etc
2       flexlm
160617  ftp
1       g92
87886   g92.old
126121  g94
4482    groff
118933  imsl
154     include
31      info
74294   lib
12455   pvm3
21791   src
391     tclX
29417   texmf
1260    tkX
2       tmp
223     uniXEDIT



Claude Cantin 2010-10-24