PDA

View Full Version : traffic measurement ip/~username



Chrysalis
10-18-2004, 01:01 PM
I have one user who hasnt setup my nameserver's on his registrar so I assume his website is been used via the http://ip/~username format, he is currently according to directadmin the highest user of traffic on my server and he recently disputed the usage. The logs in his user panel dont exist I presume because his website isnt been accessed via the domain, so which file is directadmin using to count his traffic? I believe directadmin to be correct as I seen earlier on the mrtg graph a traffic surge and sure enough his usage was the one that went up.

I written of the traffic he used the last time he disputed it as a goodwill measure but I dont want to again so need to find what to show him incase he disputes again.

Thanks

l0rdphi1
10-19-2004, 10:22 AM
Traffic for ~username usage is greped out of /var/log/httpd/homedir.log

See http://www.directadmin.com/features.php?id=392.

Phi1.

Chrysalis
10-19-2004, 10:54 AM
thanks

-rw-r--r-- 1 root wheel 0 Oct 19 00:30 homedir.log

does it archive old copies of the log somewhere?

l0rdphi1
10-19-2004, 11:15 AM
When DA runs its tally the homedir.log file should be emptied. I don't think it archives the old data anywhere.

http://www.directadmin.com/features.php?id=392 has more detail.