LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-07-2005, 09:39 AM   #1
hasnain
Member
 
Registered: Jun 2004
Location: Karachi
Distribution: Redhat
Posts: 56

Rep: Reputation: 15
download monitoring


hi

is there any way through which we can monitor real time if a person download mp3 audio or any media content

please asap

Thanks
 
Old 02-07-2005, 02:44 PM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
youre gona have to provide a tad more info than this.. What are you serving them with?

If apache, and you have access to its logs (eg. you are the system administrator / have access to /var/log/) you could just run this command set:
Code:
tail -f /var/log/apache/access_log | grep -E "\.mp3|\.wma|\.otherFormat"
Just add other filetypes to the list.. (:

The regexp is just: \ to escape the . character + the string we search for .mp3 and then the new entry thats an alternative to finding this seperated with a | .. the list can be as long as you need

Last edited by Artanicus; 02-07-2005 at 02:45 PM.
 
  


Reply



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
File upload/download control/monitoring software? iges Linux - Software 2 11-25-2005 03:25 PM
Fast Download Site for Linux, enables >4GB Download of single file TigerLinux Linux - Distributions 9 10-29-2005 12:45 PM
I'm looking for a "download" monitoring software akudewan Linux - Software 6 05-02-2005 10:45 AM
Restricting Download based on total download using Squid,SARG& Webmin jomy Linux - Networking 0 04-27-2005 06:04 AM
Konqueror wont download download TAR,ZIP file but preview Velocide Linux - Newbie 0 03-22-2004 06:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:01 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration