uabrc / devops-docs

https://docs.rc.uab.edu/devops-docs/
Apache License 2.0
1 stars 7 forks source link

Checking current user quota #51

Open mdefende opened 6 months ago

mdefende commented 6 months ago

We can use the mmlsquota command to check user quotas in addition to project quotas. We can add a function to our .bashrc or .bash_profile for it like so:

quota-user() { /usr/lpp/mmfs/bin/mmlsquota --block-size=auto -v -u $1 data:user; }

This will check the current quota used and available specifically in /data/user for the given username. You can also check /scratch by changing data:user to scratch.