troysunix |
08-03-2011 11:18 PM |
@mspatil0037
In addition to digsecurity's suggestion, have a look at repquota(8). As an example of usage, running quota as a user:
Code:
scottm@tux [0] /usr/bin/quota -ug
Disk quotas for user scottm (uid 1002): none
Disk quotas for group sysvuser (gid 1000):
Filesystem blocks quota limit grace files quota limit grace
/dev/sdc1 6162* 5120 0 none 6* 5 0 none
scottm@tux [1]
whereas repquota as root:
Code:
root@tux [0] /usr/sbin/repquota -g /users
*** Report for group quotas on device /dev/sdc1
Block grace time: 00:05; Inode grace time: 00:05
Block limits File limits
Group used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 11292 0 0 4 0 0
sysvuser -+ 4 5120 0 11 5 0 none
bsduser -- 4 0 0 2 0 0
root@tux [0]
I have posted further quota usage examples here if it can be of any assistance.
|