logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: number of clients connected to an apache server
Author
medben



Joined: 03 Apr 2014
Posts: 4
Location: france

PostPosted: Thu 03 Apr '14 14:26    Post subject: number of clients connected to an apache server Reply with quote

Hi ,

I administer an Apache server under unix environment SunOS 5.10,I want to know the number of clients connected to my apache server

Thank's for you help
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 08 Apr '14 11:58    Post subject: Reply with quote

What is in your config defined? Do you have a server-status page
Back to top
medben



Joined: 03 Apr 2014
Posts: 4
Location: france

PostPosted: Tue 08 Apr '14 14:54    Post subject: Reply with quote

hi

thank you for your answer

<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>

Server version: Apache/2.2.15 (UNIX)
OS : Solaris 5.10

I'm looking for a command or script that can returns the number of current client connexions in my Apache server whithout enabling apache's mod_status because It will need server restart and since the server is in production I can't do it :s

thank again for your help
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 08 Apr '14 22:24    Post subject: Reply with quote

Well this tool can http://check-httpd-limits.googlecode.com/svn/trunk
Back to top
medben



Joined: 03 Apr 2014
Posts: 4
Location: france

PostPosted: Thu 10 Apr '14 12:14    Post subject: Reply with quote

Thank you Very Happy I'll try it and come back to you Very Happy
Back to top
medben



Joined: 03 Apr 2014
Posts: 4
Location: france

PostPosted: Thu 10 Apr '14 13:56    Post subject: Reply with quote

I'm not good in PERL Question , I want to know before runnig the script that it doesn't change anything ?? Embarassed
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 11 Apr '14 9:06    Post subject: Reply with quote

It looks to me that if you do not run it with --save, --days or --max it will not do anything. If you do use those it will create a database and store info in it for running averages.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Fri 11 Apr '14 17:02    Post subject: Reply with quote

medben wrote:
I'm not good in PERL Question , I want to know before runnig the script that it doesn't change anything ?? Embarassed


The script does not change anything

run it
Code:

sudo ./check_httpd_limits.pl --verbose


my result on my test server http://pastebin.com/raw.php?i=PG4DSwTK after a fresh start.
Back to top


Reply to topic   Topic: number of clients connected to an apache server View previous topic :: View next topic
Post new topic   Forum Index -> Apache