Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ du(1M) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

df(1M)






       du(1M)                                                        du(1M)


       NAME
             du - summarize disk usage

       SYNOPSIS
             du [-sarkx] [name . . .]

       DESCRIPTION
             The du command gives the number of sectors (512 bytes)
             contained in all files and (recursively) directories within
             each directory and file specified.  The block count includes
             the indirect blocks of the file.  If no names are given, the
             current directory is used.

             A user with the appropriate privileges is able to display
             information about all files and directories.

             du has been multithreaded and uses the enhanced nftw [see
             ftw(3C)] (walk a file tree) to increase its execution speed.

             The optional arguments are as follows:

               -s    Give only the grand total (for each of the specified
                     names).

               -a    Generate an output line for each file.

               -k    Give block count in kilobytes.

               -x    Cause block count returned to not follow symbolic
                     links.

             If neither -s or -a is specified, an output line is generated
             for each directory only.

               -r  Generate messages about directories that cannot be read,
                   files that cannot be opened, and so on, rather than
                   being silent (the default).

             A file with two or more links is only counted once.

       REFERENCES
             df(1M)

       NOTICES
             If the -a option is not used, non-directories given as
             arguments are not listed.


                           Copyright 1994 Novell, Inc.               Page 1













      du(1M)                                                        du(1M)


            If there are links between files in different directories
            where the directories are on separate branches of the file
            system hierarchy, du counts the excess files more than once.













































                          Copyright 1994 Novell, Inc.               Page 2








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026