Checking quota »
The
quotacommand allows you to determine:
- usage
- How much space you are currently using.
- quota
- How much data you are allowed to have after you log out.
- limit
- The maximum hard limit that you cannot exceed. If you exceed this limit, you risk having files erased.
- timeleft
- If you exceed your quota, how much time you have to remove data before it becomes a hard limit.
- files
- The number of files in your directory.
The command
quota -vprovides some useful information. Here are some examples: (Please run quota -v from a solaris host)
See Frequently Asked Questions about Quotas for more information about quotas.
- An account that's under quota.
suzieanteater% quota -v Disk quotas for santeater (uid 1234): Filesystem usage quota limit timeleft files quota limit timeleft /home/santeater 1409 2000 4000 209 0 0In this example, Suzie Anteater has a quota of 2 MB, and a hard limit of 4 MB. She has used 1.4 MB worth of space, and has 209 files in her account.
- An account that's over quota.
peteranteater% quota -v Disk quotas for panteater (uid 4567): Filesystem usage quota limit timeleft files quota limit timeleft /home/panteater 2404 2000 4000 3.0 days 209 0 0In this example, Peter's usage is above the quota limit, and unless his quota is brought down below the limit within 3 days, he will be locked out of his account, or may lose files.