Solved

How can I log page load times and/or duration of request?

Posted on 2008-06-12
6
258 Views
Last Modified: 2013-12-16
I'd like to be able to custom log page load times and the total duration of the request from a client. If I need to, I'll write a custom module to do so, but need to know how.

For example:
If someone hits a page: http://myserver.com/mypage.html
1. I need to log how long each request took apache to deliver
0
Comment
Question by:randymelder
  • 3
  • 2
6 Comments
 
LVL 9

Expert Comment

by:michofreiha
ID: 21771738
0
 

Author Comment

by:randymelder
ID: 21772015
BTW: we're running OS X... :-/
0
 
LVL 48

Expert Comment

by:Tintin
ID: 21773292
This info is already available with Apache.

See http://httpd.apache.org/docs/2.2/mod/mod_log_config.html
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:randymelder
ID: 21774434
what about apache 1.3.x???
0
 
LVL 48

Accepted Solution

by:
Tintin earned 250 total points
ID: 21774623
It's also available with Apache 1.3

http://httpd.apache.org/docs/1.3/mod/mod_log_config.html

You might also be interested in the stats from mod_status

http://httpd.apache.org/docs/1.3/mod/mod_status.html

0
 

Author Closing Comment

by:randymelder
ID: 31480499
The solution was somewhat helpful, but did not spell out exactly how to implement. To be a complete solution, it should be precise.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now