quota

Display disk usage and limits.

Syntax
     quota [-g] [-u] [-v | -q]

     quota [-u] [-v | -q] user

     quota [-g] [-v | -q] group

Options
     -g       Print group quotas for the group of which the user is a member.

     -u       Print user quotas (the default)

     -v       quota will display quotas on filesystems where no storage is allocated.

     -q       Print a more terse message, containing only information on
              filesystems where usage is over quota.

Only the super-user can use the -u flag and the optional user argument to view the limits of other users.

Non-super-users can use the -g flag and optional group argument to view only the limits of groups of which they are members.

The -q flag takes precedence over the -v flag. Quota reports the quotas of all the filesystems that have a mount option file located at its root. If quota exits with a non-zero status, then one or more filesystems are over quota.

FILES
Each of the following quota files is located at the root of the mounted filesystem. The mount option files are empty files whose existence indicates that quotas are to be enabled for that filesystem.

.quota.user        Data file containing user quotas 
.quota.group       Data file containing group quotas 
.quota.ops.user    Mount option file used to enable user quotas 
.quota.ops.group   Mount option file used to enable group quotas 

“Conventional wisdom says to know your limits. To know them you must find them first. Finding your limits generally involves getting in over your head and hoping you live long enough to benefit from the experience. That's the fun part” ~ Drew Marold.

Related macOS commands

quotactl - manipulate filesystem quotas.
quotacheck - filesystem quota consistency checker.
repquota - summarize quotas (report).
edquota - edit user quotas.
quotaon, quotaoff - turn filesystem quotas on and off.


 
Copyright © 1999-2024 SS64.com
Some rights reserved