with the below config on your httpd.conf you can also use

/usr/local/bin/apachectl status

or 

/usr/sbin/httpd status

from command 


  ----- Original Message ----- 
  From: Jarris Ruiz 
  To: Philippine Linux Users' Group (PLUG) Technical Discussion List 
  Sent: Tuesday, June 17, 2008 5:15 PM
  Subject: Re: [plug] httpd Uptime


  you can enable apache's server-status; just uncomment the directive relating 
to it in httpd.conf. If it isn't there then add the following directive in your 
httpd.conf

  <Location /server-status>
         SetHandler server-status
         Order deny, allow
         Deny from all
         Allow from 127.0.01
  </Location>

  restart apache

  then access the stats page by pointing ur browser to 
http://localhost/server-status/

  good luck!
   




  On Tue, Jun 17, 2008 at 3:38 PM, Ludwig Isaac Lim <[EMAIL PROTECTED]> wrote:

    Hi:

         Is executing ls -la httpd.pid enough to determine how long the apache 
server is running? Are
    there better ways?

         Thanks

    Regards,

    Ludwig Lim



    _________________________________________________
    Philippine Linux Users' Group (PLUG) Mailing List
    http://lists.linux.org.ph/mailman/listinfo/plug
    Searchable Archives: http://archives.free.net.ph





------------------------------------------------------------------------------


  _________________________________________________
  Philippine Linux Users' Group (PLUG) Mailing List
  http://lists.linux.org.ph/mailman/listinfo/plug
  Searchable Archives: http://archives.free.net.ph
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to