Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cmchk(C)

du(C)

ls(C)

machine(M)



     QUOT(C)                  XENIX System V                   QUOT(C)



     Name
          quot - Summarizes file system ownership.

     Syntax
          quot [ option ] ...  [ filesystem ]

     Description
          quot prints the number of blocks in the named filesystem
          currently owned by each user.  If no filesystem is named,
          the file systems given in /etc/mnttab are examined.

          The following options are available:

          -n   Processes pipeline input for display.  Specifically,
               the following pipeline:

                  ncheck filesystem | sort +0n | quot -n filesystem

          produces a list of all files and their owners.

          -c   Prints three columns giving file size in blocks, number
               of files of that size, and cumulative total of blocks
               in that size or smaller file.  Data for files of size
               greater than 499 blocks are included in the figures for
               files of exactly size 499.

          -f   Prints a count of the number of files as well as space
               owned by each user.

     Files
          /etc/passwd              Gets user names

          /etc/mnttab              Contains list of mounted file
                                   systems

     See Also
          cmchk(C), du(C), ls(C), machine(M)

     Notes
          Holes in files are counted as if they actually occupied
          space.

          Blocks are reported in 512 byte blocks.  On filesystems that
          use 1024 byte blocks, a file of 26 bytes is reported as
          using 2 blocks, since it uses one 1024 byte block, or two
          512 byte blocks. See machine(M) or use cmchk(C) to determine
          the filesystem block size.

          See also Notes under mount(C).






     Page 1                                           (printed 8/7/87)



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