System Administration Guide: Advanced Administration

ProcedureHow to Check for Exceeded Quotas

You can display the quotas and disk use for individual users on file systems on which quotas have been activated by using the quota command.

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Display user quotas for mounted file systems where quotas are enabled.


    # quota [-v] username
    
    -v

    Displays one or more users' quotas on all mounted file systems that have quotas.

    username

    Is the login name or UID of a user's account.


Example 7–6 Checking for Exceeded Quotas

The following example shows that the user account identified by UID 301 has one 1–Kbyte quota but has not used any disk space.


# quota -v 301
Disk quotas for bob (uid 301):
Filesystem  usage  quota limit timeleft files quota  limit timeleft
/export/home   0      1     2             0      2      3
Filesystem

Is the mount point for the file system.

usage

Is the current block usage.

quota

Is the soft-block limit.

limit

Is the hard-block limit.

timeleft

Is the amount of time, in days, left on the quota timer.

files

Is the current inode usage.

quota

Is the soft-inode limit.

limit

Is the hard-inode limit.

timeleft

Is the amount of time, in days, left on the quota timer.