Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

df does only report the disk free space, how can i get my allowed free space ?

share|improve this question
add comment

2 Answers

up vote 7 down vote accepted

Take a look at the quota command here:

http://linux.die.net/man/1/quota


quota

For example:

quota -u user1

System response:

Disk quotas for user user1 (uid 501):
     Filesystem  blocks   quota   limit   grace files   quota   limit  grace    
     /dev/hda6     992   50000   55000              71   10000   11000


quota report

Report on all users over quota limits:

quota -q

Quota summary report:

repquota -a

Report for user quotas on device /dev/hda5
Block grace time: 7days; Inode grace time: 7days
                    Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      -- 4335200       0       0         181502     0     0
bin       --   15644       0       0            101     0     0
...
user1     --    1944       0       0            120     0     0

No limits shown with this user as limits are set to 0.

share|improve this answer
add comment

If quotas are set, "quota" command shows the details.

quota -v
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.