Every user or group can check their disk quota with the command quota. This command produces a report that contains information for all file systems listed in the /etc/fstab. Give the command quota -u (for user quota) or quota -g (for group quota) or a combination to obtain this information. If no quotas are set, the command quota -u results in the following output:
Disk quotas for dsnjaro (uid 503):none
If quotas have been set, the output looks like:
Disk quotas for user dsnjaro (uid 503): File system blocks quota limit grace files quota limit grace /dev/hda3 49 100 110 30 0 0Only the system administrator can use either of the commands:
quota -u < quota <-g <group-id>Quota is working very well for me in my work, where there are approximately 300 users on our system.
Free DevOps eBooks, Videos, and more!
Regardless of where you are in your DevOps process, Linux Journal can help!
We offer here the DEFINITIVE DevOps for Dummies, a mobile Application Development Primer, and advice & help from the expert sources like:
- Linux Journal