How can I check the quota on another locker or user?
There are two ways to check the quota of a locker on Athena.
afsquota
The simplest way to check the quota of any AFS locker, regardless of whether or not it is attached, is to use the "afsquota" command in the consult locker.
joeuser@athena:~$ athena% add consult
joeuser@athena:~$ afsquota lockername
joeuser@athena:~$ afsquota lockername
Note: Be sure to fill in the correct information for lockername.
For example, to check the quota on the sipb locker:
joeuser@athena:~$ athena% add consult
joeuser@athena:~$ afsquota sipb
joeuser@athena:~$ afsquota sipb
Locker Name Quota Used %Used sipb 500000 156771 31%
The quota command
To check the quota with the "quota" command, you must first attach the locker. For example, to check the quota on the consult locker:
joeuser@athena:~$ attach consult; quota -v -f /mit/consult
Disk quotas for joeuser (uid 17261): Filesystem usage quota limit files quota limit /mit/consult 139800 150000 150000 << 93% of the disk quota on /mit/consult has been used.
If you receive an error like this:
Error getting AFS quota: /afs/athena.mit.edu/user/j/o/joeuser: Permission denied
you will need to use the afsquota method listed above.