unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Page:
Section:
Apropos / Subsearch:
optional field



 quot(1M)							    quot(1M)




 NAME
      quot - summarize file system ownership

 SYNOPSIS
      /usr/sbin/quot [-F FStype] [-V] [-cfhnv] [-o FSspecific-options]
	   filesystem ...

      /usr/sbin/quot [-F FStype] [-V] [-cfhnv] -a

 DESCRIPTION
      The quot command displays the number of 1024-byte blocks in the named
      filesystem that are currently owned by each user.	 filesystem is
      either the name of the directory on which the file system is mounted
      or the name of the device containing the file system.

    Options
      quot recognizes the following options:

	   -F FStype	  Specify the file system type on which to operate
			  (see fstyp(1M) and fs_wrapper(5)).  If this option
			  is not included on the command line, the file
			  system type is determined from the file /etc/fstab
			  by matching filesystem with an entry in that file.
			  If there is no entry in /etc/fstab, then the file
			  system type is determined from the file
			  /etc/default/fs.

	   -V		  Echo the completed command line, but perform no
			  other action.	 The command line is generated by
			  incorporating the user-specified options and other
			  information derived from /etc/fstab.	This option
			  allows the user to verify the command line.

	   -o FSspecific-options
			  Specify any options specific to the file system.

	   -a		  Generate a report for all mounted file systems.

	   -c		  Report size rather than user statistics.
			  Generates histogram statistics in 3-column format:

			       Column 1:   File size in blocks.	 Sizes are
					   listed in ascending order up to
					   499 blocks per file.	 Files
					   occupying 499 or more blocks are
					   counted together on a single line
					   as 499-block files (but column 3
					   is based on actual number of
					   blocks occupied).





 Hewlett-Packard Company	    - 1 -   HP-UX Release 11i: November 2000






 quot(1M)							    quot(1M)




			       Column 2:   Number of files of size indicated
					   in column 1.

			       Column 3:   Cumulative total blocks occupied
					   by files counted in current plus
					   all preceding lines.

			  Use of this option overrides the -f and -v
			  options.

	   -f		  Display number of files and space occupied by each
			  user.

	   -h		  Calculate the number of blocks in the file based
			  on file size rather than actual blocks allocated.
			  This option does not account for sparse files
			  (files with holes in them).

	   -n		  Accept data from the ncheck command (see
			  ncheck(1M)) as input.	 Run the pipeline:

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

			  to produce a list of all files and their owners.

	   -v		  Display three columns containing the number of
			  blocks not accessed in the last 30, 60, and 90
			  days.

 AUTHOR
      quot was developed by the University of California, Berkeley, Sun
      Microsystems, Inc., and HP.

 FILES
      /etc/default/fs	       Specifies the default file system type
      /etc/fstab	       Static information about the file systems
      /etc/mnttab	       Mounted file system table
      /etc/passwd	       Password file (contains user names)

 SEE ALSO
      quot_hfs(1M), quot_vxfs(1M), du(1), find(1), ls(1), fstyp(1M),
      mount(1M), ncheck(1M), repquota(1M), fs_wrapper(5), quota(5).












 Hewlett-Packard Company	    - 2 -   HP-UX Release 11i: November 2000