LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2006, 12:52 PM   #1
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 490

Rep: Reputation: 30
Question cbq & http log file


Dear friends ,
I have the following Two Questions . Plz try to help me :

1) Suppose i have 5 clients Under a Linux Server . Now I use CBQ to controll bandwidth among them . In a particular moment i want to know , Which client(or IP) useses most Bandwidth or Which client is downloaded more things at a particular moment , Then is there any CBQ log file to find out this particula client ?

2) Suppose these 5 clients use internet through my Linux server . Here they get connected with internet via SQUID . I know Squid has a Log file(squid.log) which helps me to know or show which client uses which web sites ?

But if those 5 clients are connected with internet directly (i.e.,here i don't use Squid) then how can i tress which client uses which web sites ? i.e, Is there any "http" log file so that i can understand which client uses which web sites ?
Plz help...........
 
Old 06-07-2006, 05:56 AM   #2
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
squid has a log file access.log (unless u changed it) which shows you every connection through it. you can install and configure squidARG for the later part. basically it takes the squid logs as input and shows you a detailed report of all transactions including the highest cache hits, user history, the most visited sites etc etc.

i basically do a
Code:
tail /var/log/access.log
anytime i want to see who is going where. i also have the squidARG but its set to generate a daily report. so at runtime i just use the tail thing.

Last edited by prozac; 06-07-2006 at 06:00 AM.
 
Old 06-07-2006, 06:04 AM   #3
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
Quote:
But if those 5 clients are connected with internet directly (i.e.,here i don't use Squid) then how can i tress which client uses which web sites ? i.e, Is there any "http" log file so that i can understand which client uses which web sites ?
i would use tcpdump or ethereal for this purpose i guess!
 
  


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
I'd like my cake & eat it too please! Log to both console and file ericcarlson Linux - Software 1 03-01-2005 04:07 AM
var/http/log raymond Linux - General 2 01-18-2003 02:49 AM
need help to deceifer a http log robinhood1995 Linux - Security 4 04-22-2002 01:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:10 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration