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
- DNSMasq, the Pint-Sized Super Dæmon!
- Localhost DNS Cache
- High-Availability Storage with HA-LVM
- Real-Time Rogue Wireless Access Point Detection with the Raspberry Pi
- Days Between Dates: the Counting
- You're the Boss with UBOS
- The Usability of GNOME
- Linux for Astronomers
- Multitenant Sites
- Many Drives, One Folder