Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 8413 invoked from network); 22 Feb 2006 08:57:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Feb 2006 08:57:11 -0000 Received: (qmail 24215 invoked by uid 500); 22 Feb 2006 08:57:00 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 24201 invoked by uid 500); 22 Feb 2006 08:57:00 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 24190 invoked by uid 99); 22 Feb 2006 08:56:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 00:56:59 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=DATE_IN_FUTURE_03_06 X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [128.242.115.166] (HELO mail.advancedportal.com) (128.242.115.166) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 00:56:59 -0800 Received: from [192.168.0.47] ([210.2.161.139]) by mail.advancedportal.com (Merak 8.2.4) with ESMTP id FIV38722 for ; Wed, 22 Feb 2006 00:56:36 -0800 From: Muhammad Rizwan To: users@httpd.apache.org In-Reply-To: References: Content-Type: text/plain; charset=UTF-8 Message-Id: <1140616747.20293.5.camel@Rizwan> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Wed, 22 Feb 2006 13:59:08 +0000 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] bandwidth X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N >>after the event: Process the logs. Different VHs can have their own >>log files, so just count the hits in each log (or parse the logs using >>an analysis tool). If only one log, various log processors can analyse >>them and produce reports (google for "apache log processing"). I have heard this solution i.e. parsing of log file. Can you plz tell me Which entries from my access_log file i should use and how this 'll help me in calculating the bandwidth. >>That's weird - apache always logs... Are you sure you're looking in >>the correct directory? I suspect you might be starting/stopping the >>wrong apache (especially considering your next question). YES, im sure im looking for exact log file, i.e. /etc/httpd/logs/error_log and /etc/httpd/logs/access_log. access_log is totally empty while error_log have some entries. Thanks for your help. On Wed, 2006-02-22 at 08:11, Boyle Owen wrote: > > -----Original Message----- > > From: Muhammad Rizwan [mailto:rizwan@nixpanel.com] > > Sent: Mittwoch, 22. Februar 2006 13:52 > > To: users@httpd.apache.org > > Subject: [users@httpd] bandwidth > > > > Hello > > > > I want to calculate bandwidth for each individual domain running on my > > system, how i can do so. > > Two basic methods: > > - Realtime: Depends if domains are distinct at TCP/IP layer (different IP/port). If so, you need some network analyser - google for "network packet sniffer". If not (ie, name-based VHs), you might find some 3rd party module that works at the HTTP layer (ie, uses the "Host" header to distinguish traffic). > > - after the event: Process the logs. Different VHs can have their own log files, so just count the hits in each log (or parse the logs using an analysis tool). If only one log, various log processors can analyse them and produce reports (google for "apache log processing"). > > > Second thing my access_log and error_log files are empty, although > > CustomLog logs/access_log combined and ErrorLog logs/error_log are > > enabled. > > That's weird - apache always logs... Are you sure you're looking in the correct directory? I suspect you might be starting/stopping the wrong apache (especially considering your next question). > > > How i can check version of apache through command line. > > This question makes me suspect you might have several apaches installed - especially when we consider your funny "empty logs" problem. > > To answer the question: > > - go to the apache bin directory (eg, /usr/local/apache2/bin) > - ./httpd -v > > NB: ./httpd -h will give you a list of other options (-V and -l are particularly useful). > > Rgds, > Owen Boyle > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > Thanks!!! > > > > > > --------------------------------------------------------------------- > > The official User-To-User support forum of the Apache HTTP > > Server Project. > > See for more info. > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > > " from the digest: users-digest-unsubscribe@httpd.apache.org > > For additional commands, e-mail: users-help@httpd.apache.org > > > > > Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX. > > > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org