PDA

View Full Version : CLI way to see clients who are over quotas?



Dixiesys
06-16-2004, 07:53 PM
I'd like to make a shell script where I can list all accounts that are over their quota for last month.

How long does Directadmin save bandwidth data for customers? Generating overages for this month is pretty much useless until this month is over so I prefer to just run last month's overages sometime early in the next month.

All help appreciated :D

DirectAdmin Support
06-17-2004, 11:25 AM
http://www.directadmin.com/features.php?id=377

John

hostpc.com
12-19-2005, 06:07 AM
I'm looking to be able to run a report of overages for both bandwidth and diskspace for each user

The above option shows:
%32%30%30%34 %30%35=bandwidth%3D%31%34%34.%30%33%35%26quota%3D%32%32.%39%32%30%30%34 %30%36=bandwidth%3D%31%34%36.%30%33%35%26quota%3D%32%32.%39

How can that be, or where is that decoded?

I'm looking to report something like

username
bandwidth X / XX
disk X /XX

in a nice, easy to use report - or ideally just show users OVER quotas.

Any suggestions?