*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> quot (8)              
Title
Content
Arch
Section
 

quot(8)

Contents


NAME    [Toc]    [Back]

       quot - Displays information about user files

SYNOPSIS    [Toc]    [Back]

       /usr/sbin/quot [-cfghnv] [file_spec...]

OPTIONS    [Toc]    [Back]

       Displays  three  columns  about  user  files: file size in
       1024-byte disk blocks, number of files that are  the  size
       described  in  column  one,  and  the  cumulative total of
       1024-byte disk blocks that are in files  of  the  size  or
       smaller  described  in column one.  Displays three columns
       about user files: the space allocated for the user's files
       in 1024-byte disk blocks, the number of files owned by the
       user, and the user name.   Displays  three  columns  about
       user  files  in  different groups: the space allocated for
       the user files in 1024-byte disk blocks,  the  user  name,
       and  the  user's  group.   Displays two columns about user
       files:  an estimate of the space allocated  for  the  user
       files  in  1024-byte  disk  blocks and the user name.  The
       estimate does not include calculations  for  sparse  files
       and  therefore  inaccurately  represents them.  Displays a
       list of all files and the user name of their owners.  However,
 you must use the option in the following  pipeline:

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

              For   example:   #   ncheck   /dev/rdisk/dsk0a|sort
              +0n|quot -n /dev/rdisk/dsk0a \       > quot.out

              If you attempt to use the -n option by itself,  the
              quot  command  hangs.   Displays five columns about
              user files: the space allocated for the user  files
              in  1024-byte  disk  blocks, the user name, and how
              many blocks there are in user files that  have  not
              been accessed in 30, 60, and 90 days.

OPERANDS    [Toc]    [Back]

       Specifies one or more file systems.  Specify a file system
       by entering its name as defined by its file_spec parameter
       in the /etc/fstab file.  Otherwise, how you specify a file
       system depends on whether it is UFS or AdvFS  and  whether
       it is mounted.

              To specify a UFS file system that is mounted, enter
              the name of its character device special file.  For
              example: /dev/rdisk/dsk3c.

              To  specify  a  UFS  that is not mounted, enter the
              name of its block device special file.   For  example:
 /dev/disk/dsk3c.

              To  specify an AdvFS fileset that is mounted, enter
              the name of the file domain, a pound-sign(#)  character,
  and  the name of the fileset.  For example:
              root_domain#root.

              You cannot specify an AdvFS  fileset  that  is  not
              mounted.


DESCRIPTION    [Toc]    [Back]

       The quot command displays information about each file system's
 users and the files that they own.  If  you  do  not
       specify a file system, the quot command processes all file
       systems of type ro, rw, or  rq  that  are  listed  in  the
       /etc/fstab file.

NOTES    [Toc]    [Back]

       The  term  file system represents either a UFS file system
       or an AdvFS fileset.

RESTRICTION    [Toc]    [Back]

       You must be the root user to use the quot command.

       For UFS file systems, the file_spec parameter must be  the
       name of a device that can be opened for reading.

EXAMPLES    [Toc]    [Back]

       The  following  command  displays  the blocks used and the
       number of files owned by each user  on  the  mounted  file
       system  specified by the /dev/rdisk/dsk1a character device
       special file name:

       # quot -f /dev/rdisk/dsk1a /dev/rrz1a: 42813   760    root
       23882   543   bin
           6     2   devbld

       The  following command displays the number of blocks owned
       by each user:

       #  quot  staff_domain#usr  staff_domain#usr:  308522   bin
       93881   smith 62270   root
        4335   #553
        3615   bold
          24   daemon
          15   steven
          14   jones
          14   walter
           6   adm
           3   north

       The  following  command displays the aging of files in the
       test_domain#test fileset:

       # quot -v test_domain#test test_domain#test: 788912   jdoe
       334932  299802  297186
        1350   root             1318    1318    1310
          13   nobody             13      13       0 #

       The  following  command  displays space allocation for the
       quot_all_fs1 fileset in the quot_all_dmn domain:

       #        quot         -h         quot_all_dmn#quot_all_fs1
       quot_all_dmn#quot_all_fs1:
        48  root
        8  usr_grp

       #







FILES    [Toc]    [Back]

       Command path Contains user information Lists file systems

SEE ALSO    [Toc]    [Back]

      
      
       ls(1), du(1)



                                                          quot(8)
[ Back ]
 Similar pages
Name OS Title
finger Tru64 Displays user information
f Tru64 Displays user information
userinfo OpenBSD displays user information
readelf FreeBSD Displays information about ELF files.
readelf Linux Displays information about ELF files.
rqsprint IRIX displays information about a collection of ELF files on a system
what Tru64 Displays identifying information for Source Code Control System (SCCS) files
logname Tru64 Displays user login name
uulog Tru64 Displays UUCP log files
imgview IRIX displays image files
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service