httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ricardo figueiredo <ricardoogra...@gmail.com>
Subject Re: [users@httpd] Number of connections
Date Wed, 05 Aug 2009 12:25:06 GMT
Ok !!

I will see this command.

Thank you
Ricardo

On Wed, Aug 5, 2009 at 9:10 AM, André Warnier <aw@ice-sa.com> 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 active
> 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 <URL:http://httpd.apache.org/userslist.html> 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
>
>


-- 
Muito Obrigado

Ricardo

Mime
View raw message