Mailing List Archive


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

Re: [tlug] Apache: how to find how the max number of children spawned by httpd



Or rather... hook it up to mrtg to get pretty looking graphs :)
I have set it up on my mail server to monitor the mail and the traffic load.
Works nicely.

Regards,
Abhi

----- Original Message -----
From: "Matt Doughty" <mdoughty@example.com>
To: <tlug@example.com>
Sent: Friday, June 21, 2002 5:10 PM
Subject: Re: [tlug] Apache: how to find how the max number of children
spawned by httpd


> Just write a script to gather the numbers and hourly or however often you
> want and mail the report daily. Cron if your friend use it.
>
> something like:
> #!/bin/sh
> #run this hourly
> echo `ps ax | grep -c httpd ` httpd procs at `date` >>
/var/tmp/httpd.report
>
> and
>
> #!/bin/sh
> #run this daily
> mail -s 'httpd report' < /var/tmp/httpd.conf
>
> --Matt
> On Fri, Jun 21, 2002 at 04:53:56PM +0900, Jean-Christian Imbeault wrote:
> > I would like to know what is/was the highest number of httpd processes
my
> > server ever had running at the same time. Is the anyway to do this with
> > Linux/Apache?
> >
> > I can find out how many hhtpd processes are currently running but I'd
like
> > to know the hisghest that number as ever been. Wondering if during peak
> > times (late at night when I am not around to see what is hapening) I
might
> > have too many (relatively speaking) httpd processes running.
> >
> > Thanks.
> >
> > Jc
> >
> >
> > _________________________________________________________________
> > Chat with friends online, try MSN Messenger: http://messenger.msn.com
>


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links