CLI way to see clients who are over quotas?

Dixiesys

Verified User
Joined
Aug 2, 2003
Messages
123
Location
The South
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
 
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?
 
Back
Top