unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



repquota(8)							  repquota(8)



NAME

  repquota - summarizes	file system quotas

SYNOPSIS

  /usr/sbin/repquota [-guv] file_spec...

  /usr/sbin/repquota -a	 [-guv]

OPTIONS

  -a  Prints quotas for	all the	file systems listed in /etc/fstabfor both
      users and	groups.	 The default is	to print quota information for users
      only.

  -g  Prints group quotas only.

  -u  Prints user quotas only.

  -v  Prints a header line before the information for each file	system.

OPERANDS

  file_spec
      Specifies	one or more file systems.  Specify any file system by enter-
      ing its device special file path name, its mount point (UFS) or its
      AdvFS domain name	as shown in the	/etc/fstab file.

      For UFS file systems, you	can alternatively enter	the name of a block
      device special file.  For	example: /dev/disk/dsk3c.

      For AdvFS	filesets, you can alternatively	enter the name of a file
      domain, a	pound sign (#),	and the	name of	the fileset.  For example:
      root_domain#root.

DESCRIPTION

  The repquota command prints a	summary	of the disk usage and quotas for the
  specified file systems.   The	command	provides a snapshot of the quota
  statistics, which may	be inaccurate if there is current activity in the
  file system. To ensure that the satistics are	accurate, run the command
  when there is	no file	system activity.

  To be	included in the	summary, each file system must have the	userquota and
  groupquota entries in	the /etc/fstab file .  The following is	an example of
  an entry in the /etc/fstab file for the usr fileset:

       advfs_dmn#usr	  /usr	      advfs rw,userquota,groupquota

  By default, only user	information is displayed. Specifying the -a option
  displays both	user and group information For each user or group, the
  current number of files and amount of	space (in kilobytes) is	printed, as
  well as quota	limits established with	the edquota command.

  repquota must	be run by a user with superuser	authority.




NOTES

  Disk quotas are displayed as 1 kilobyte blocks.

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

RESTRICTIONS

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

EXAMPLES

  The following	commands are valid:

       # more /etc/fstab
       /dev/disk/dsk4a /       ufs rw 1	1
       /proc	       /proc   procfs rw 0 0
       usr_domain#usr  /usr    advfs rw	0 2
       var_domain#var  /var    advfs rw	0 2

       # /usr/sbin/repquota -a
       # /usr/sbin/repquota /dev/disk/dsk4a
       # /usr/sbin/repquota /var
       # /usr/sbin/repquota var_domain#var

FILES

  /usr/sbin/repquota
      Specifies	the command path

  [setname_root]/quota.user
      Contains user quotas for file systems

  [setname_root]/quota.group
      Contains group quotas for	file systems

  /etc/fstab
      Contains fileset names and locations

SEE ALSO

  Commands: edquota(8),	fsck(8), quota(1), quotacheck(8), quotaon(8)

  Functions: quotactl(2)

  Files: fstab(4)