telequotad
install
# apt-get install -y hubzero-telequotad
Configure
In order for filesystems quotas to work they must be enabled when they are mounted. Determine which filesystem contains your home directories and add "quota" to the mount option of the corresponding entry in the /etc/fstab file. Only the filesystem with /home on it matters to telequotad.
Determine which filesystem contains your home directories and add "quota" to the mount option of the corresponding entry in the /etc/fstab file.
If quotas weren't already in affect, the run something like the following (depending on your filesystem configuration) to start up the quota system.
# mount -oremount / (may fail if there is only one filesystem mount on the host, reboot is required before quotas can be used) # /etc/init.d/quota restart (will fail is "mount -oremount" fails) # hzcms configure telequotad --enable
Test
# repquota -a
Should show disk usage for all users.
# apt-get install telnet # telnet localhost 300 getquota user=admin status=good,softspace=0,hardspace=0,space=4096,files=1,remaining=0 Connection closed by foreign host. #