LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cbq & http log file (https://www.linuxquestions.org/questions/linux-newbie-8/cbq-and-http-log-file-452133/)

shipon_97 06-06-2006 11:52 AM

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...........

prozac 06-07-2006 04:56 AM

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.

prozac 06-07-2006 05:04 AM

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!


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