Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 79833 invoked from network); 5 Aug 2009 12:25:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Aug 2009 12:25:46 -0000 Received: (qmail 27140 invoked by uid 500); 5 Aug 2009 12:25:47 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 27059 invoked by uid 500); 5 Aug 2009 12:25:47 -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 26636 invoked by uid 99); 5 Aug 2009 12:25:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 12:25:37 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ricardoogrande@gmail.com designates 209.85.211.193 as permitted sender) Received: from [209.85.211.193] (HELO mail-yw0-f193.google.com) (209.85.211.193) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 12:25:27 +0000 Received: by ywh31 with SMTP id 31so63225ywh.4 for ; Wed, 05 Aug 2009 05:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=N0NVIoT6IQVYVf0gbPZQGH1eOcGWlfy8w6+6aY1bvw4=; b=GWyNwcy9KbUdwi0LPvEmzPZ+Jp4eRo66emzv1F631HUwK9FJwJkI0RC8rfbMGMZNq8 kEQ+MgAtTD6HkQpNfznUrPzyFbW5W3dP7fnHoIGAZjaUYGDyOAkbrjBT86lUOIx6ICz9 t+0JH9LIcdGoaHWfTkZtUSl+oXhH23LqsPoUA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=hyGgWa7/1hTHAjvAYfBDCfFyFLTtoadHQHxrdHUCsd3fA4M7FK0ekUD3DsDmaDI5v4 nyak5e/VmeLVbUbufK3ORHK//+afxqvjFmE7nL9q2p77h4ks4hkpbuOM//CCo44aiZtm wLIUxaVYmLTIqPOppSghbm53ucxQEA2d1fTLY= MIME-Version: 1.0 Received: by 10.150.177.2 with SMTP id z2mr15553440ybe.138.1249475106875; Wed, 05 Aug 2009 05:25:06 -0700 (PDT) In-Reply-To: <4A7976B7.1070701@ice-sa.com> References: <24825178.post@talk.nabble.com> <4A7976B7.1070701@ice-sa.com> Date: Wed, 5 Aug 2009 09:25:06 -0300 Message-ID: <73cf33710908050525y1488c8b0ic43572f0b42f231b@mail.gmail.com> From: ricardo figueiredo To: users@httpd.apache.org, aw@ice-sa.com Content-Type: multipart/alternative; boundary=000e0cd6b29ae6abbf0470641769 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Number of connections --000e0cd6b29ae6abbf0470641769 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ok !! I will see this command. Thank you Ricardo On Wed, Aug 5, 2009 at 9:10 AM, Andr=E9 Warnier wrote: > ricardo13 wrote: > >> hi, >> >> I would like to monitor the number of connections actives in web server = at >> that moment. >> How do I get ? Does mod_status provide that informations ?? >> >> If you really mean *connections*, you could try > netstat -an > > Any line which has, in the first column of IP addresses, an IP address > ending in :80, and at the end of the line the word ESTABLISHED, is an act= ive > connection with port 80 on your machine, which probably means your > webserver. > > On a Linux system, > netstat -pan > will give you in addition, at the end of each line, the process-id and > command of the corresponding process. > netstat -tpan > will only show lines corresponding to TCP, which saves a lot of lines. > > > > --------------------------------------------------------------------- > 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 > > --=20 Muito Obrigado Ricardo --000e0cd6b29ae6abbf0470641769 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ok !!

I will see this command.

Thank you
Ricardo

On Wed, Aug 5, 2009 at 9:10 AM, Andr=E9 Warnier <aw@ice-sa.com><= /span> wrote:
ricardo13 wrote:
hi,

I would like to monitor the number of connections actives in web server at<= br> that moment.
How do I get ? Does mod_status provide that informations ??

If you really mean *connections*, you could try
netstat -an

Any line which has, in the first column of IP addresses, an IP address endi= ng in :80, and at the end of the line the word ESTABLISHED, is an active co= nnection with port 80 on your machine, which probably means your webserver.=

On a Linux system,
netstat -pan
will give you in addition, at the end of each line, the process-id and comm= and of the corresponding process.
netstat -tpan
will only show lines corresponding to TCP, which saves a lot of lines.
=



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.<= br> See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
=A0" =A0 from the digest: users-digest-unsubscribe@httpd.apache.o= rg
For additional commands, e-mail: users-help@httpd.apache.org




--
Muito Obrig= ado

Ricardo
--000e0cd6b29ae6abbf0470641769--