Virtual Private Server User Guide
User and Group Management
You can verify that the user quota has been added by listing all users with the
quotactl command:
> quotactl l
UID
Username
Disk Space Used (B)
Disk Quota (K)
1000
peony108
535
27648
1001
test
9
25600
1002
test2
9
None
1003
rusty
135
25600
65534
nobody 184
None
Changing User Quotas
The quotactl command allows you to change a user's quota.
Example 1: using quotactl to change an account's quota
To update a user quota, use the quotactl command as shown below:
> quotactl s u test2 bh 50M
This command would set the quota for the test2 user to 50MB.
Listing User Quotas
You can list all user quotas on your VPS server by issuing the quotactl command,
as shown below:
> quotactl l
UID
Username
Disk Space Used (B)
Disk Quota (K)
1000
peony108
535
27648
1001
test
9
25600
1002
test2
9
None
1003
rusty
135
25600
65534
nobody 184
None
The above example displays all quotas for each user on your system.
In addition to listing normal user quotas, you can list all user quotas (including
system users) by adding the a option to the vlistuser command, as follows:
Technical Training Department
August 2004
2 10