PDA

View Full Version : How do i see older user datatraffic ?


Icheb
11-30-2003, 12:47 PM
Is there a way to see the datatraffic a certain user produced in earlier months ?
At the moment i can only see the datatraffic produced by the users in this month, but i need to know the traffic of last month. Is there a way to do this ?

ProWebUK
11-30-2003, 01:11 PM
It gets reset after the month, so I cant see how you would get it back unless DA records it each month, and im fairly sure it does not.

Chris

FarCry
11-30-2003, 02:28 PM
Try downloading the "Backed up apache logs" for that month (under "statistics/logs"). See if there is a [domain.com].bytes file in there. That will give you the bandwidth over httpd... not perfect but its a start!

Icheb
12-01-2003, 10:58 PM
I think this issue is solved now, since DA didn't delete or reset the datatraffic for anyone of my users.
Can anyone tell me what's wrong with it ?
It kinda, well, isn't good, since now DA starts to suspend users because they are over there limit, that should have been reset...

I didn't do anything about it, didn't change the cronjobs, but still it hasn't reset the traffic...

ProWebUK
12-02-2003, 06:23 AM
To reset all users bandwidth usage run the following command as root:

# echo 'action=reset&value=username&type=user' >> /usr/local/directadmin/data/task.queue

Chris

Icheb
12-02-2003, 08:36 AM
Thanks, but it's the same problem as described here :
www.directadmin.com/forum/showthread.php?threadid=1278

So that will not work...

DirectAdmin Support
12-02-2003, 03:41 PM
Hello,

At the momment the only "history" you have would be the webalizer stats for that user. Since they're owned by root, the User can't delete them, but it will give you a good idea of what they were doing.

Just login as that User, go to their stats page and view the web
webalizer stats.

Bandwidth history is something we can look into for future releases.

John

Icheb
12-02-2003, 10:58 PM
Originally posted by DirectAdmin Support
Bandwidth history is something we can look into for future releases.

John

Alright, thank you for your answer :)
Due to the bug with the monthly reset i was able to print it out anyway, so for last month i really don't care about it :D