Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-07-2005, 07:57 PM   #1
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



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 2 04-10-2020 08:52 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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:34 PM.

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