PDA

View Full Version : Odd bandwidth numbers for past month



Icheb
05-31-2004, 11:25 PM
Hi,

As you might know, DA has support to store bandwidth usage now...

Only problem is, it looks like it only stored for the tally of the 31st for May, instead of the entire month.
How exactly does this new system work ?

Does it count the traffic used every tally and add it to the current month or something, or should it copy the tally data of the last day of the month before overwriting it ?

(I hoped I could finally show my customers some proof about overusage :D)

DirectAdmin Support
06-01-2004, 10:32 AM
Hello,

During the reset, the bandwidth value is taken from the user.usage file and copied the the history file. If there is already a value in the history file, the 2 numbers will be added (this would only happen if a reset is done multiple times in one month). Resets done on the first of the month will be stored as *last* months data. Any resets done on the 2nd an on will be saved as *this* months data (so that you can do multiple resets .. if needed)

John