Re: Number of connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok !!

I will see this command.

Thank you
Ricardo

On Wed, Aug 5, 2009 at 9:10 AM, André Warnier <aw@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
 "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Muito Obrigado

Ricardo

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux