LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-07-2005, 07:57 PM   #1
dtra
Member
 
Registered: Nov 2004
Distribution: fc4
Posts: 104

Rep: Reputation: 15
calculate amount of data transferred to certain ip addresses


hi all

we are working with a company and we need to invoice them based on the amount of data that they downloaded from us

i am happy to just use the apache access log because we know the ip's that they are using, but my only concern is the file size of the log, and accessing it

it is currently around 115 MB's

does anyone know of a better way to do this, or is this it?

if so (on either count), can someone point me in the direction of a script that can do this for me

i could do this with php, but i think it's prolly not the right language for it

the script should probably just check for certain ip's, and get the file size
and then insert into the database, running as a daily cron

thanks
dave
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HP laserjet 6p stalls with large amount of data simjii Mandriva 0 11-10-2005 03:32 PM
How to find the amount of data downloaded connected to a network ananthbv Programming 2 10-30-2005 12:25 AM
How to count amount of data btwn iface and IPAddr krizzz Linux - Networking 1 10-20-2004 07:11 PM
Bash Scripting - Waiting for a certain amount of data welby Programming 12 05-12-2004 12:40 PM
Transferred data from old HD to New HD,MYSQL ERRORS "HELP" brandog Linux - Software 2 05-01-2003 07:22 AM


All times are GMT -5. The time now is 09:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration