makeyourownmaker / apache-response-time Goto Github PK
View Code? Open in Web Editor NEWPerformance analysis for the apache web server access log with a focus on response time
License: GNU General Public License v2.0
Performance analysis for the apache web server access log with a focus on response time
License: GNU General Public License v2.0
What steps will reproduce the problem?
1. # perl apache-response-time
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
# uname -a
Linux qdm 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64
GNU/Linux
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.4 LTS
Release: 10.04
Codename: lucid
# perl --version
This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi
Please provide any additional information below.
# perl apache-response-time -b pm -e php
Use of uninitialized value in addition (+) at apache-response-time line 439.
Use of uninitialized value in addition (+) at apache-response-time line 440.
Use of uninitialized value in addition (+) at apache-response-time line 441.
Use of uninitialized value in division (/) at apache-response-time line 443.
Illegal division by zero at apache-response-time line 455.
436
437 # Calculate stats for all scripts combined
438 foreach my $script ( keys %stats ) {
439 $stats{overall}{time} += $stats{$script}{time};
440 $stats{overall}{bytes} += $stats{$script}{bytes};
441 $stats{overall}{calls} += $stats{$script}{calls};
442
443 %stats = set_value_for( \%stats, 'overall', 'min_time', $stats{$script}{min_time} / $TIME_UNIT );
444 %stats = set_value_for( \%stats, 'overall', 'max_time', $stats{$script}{max_time} );
Original issue reported on code.google.com by [email protected]
on 6 Mar 2012 at 2:55
It seems that default parameters applies to cgi script files only.
I tried -e .* -b .* in order to be able to parse all logs entries and got this error:
Use of uninitialized value in addition (+) at /Users/fredericrufin/Sites/webapachekit/nodeServer/shellScripts/apache-response-time.sh line 446
Thanks
What steps will reproduce the problem?
1. apache-response-time -d 31/Oct/2009
2. 31/Oct/2009 must not occur in access.log file
What is the expected output?
Standard analysis output
What do you see instead?
Use of uninitialized value in multiplication (*) at ./apache-response-time
line 477.
Use of uninitialized value in division (/) at ./apache-response-time line 477.
Illegal division by zero at ./apache-response-time line 477.
Please use labels and text to provide additional information.
Original issue reported on code.google.com by [email protected]
on 2 Nov 2009 at 12:34
Hi,
I'm trying to analyze an access log of Oracle WebLogic Server. The output I'm getting is: "No matches in access log!".
Please find the attached log which contains the header of the actual log.
What steps will reproduce the problem?
1. Tried to Run using following option
perl apache-response-time -a /abc/access.log -s http://dev.abc.com -o call_time -e php
2. Error appeared as
Use of uninitialized value in multiplication (*) at
/root/gp/monitor/apache-response-time line 477.
Use of uninitialized value in division (/) at
/root/gp/monitor/apache-response-time line 477.
Illegal division by zero at /root/gp/monitor/apache-response-time line 477.
3. Tried all combination of options
What is the expected output? What do you see instead?
Standard stats
What version of the product are you using? On what operating system?
lastest
Please provide any additional information below.
Access.log
117.192.3.156 - - [15/Jul/2010:16:54:18 +0000] "GET /js/enc_js.js HTTP/1.1" 304
- 3243
117.192.3.156 - - [15/Jul/2010:16:54:18 +0000] "GET /common/js/login.js
HTTP/1.1" 304 - 2981
117.192.3.156 - - [15/Jul/2010:16:54:15 +0000] "GET
/content/chemistry/chemistry-i/matter/atoms-and-molecules.php HTTP/1.1" 200
25155 4638969
117.192.3.156 - - [15/Jul/2010:16:54:30 +0000] "GET
/content/chemistry/chemistry-i/matter/atomic-mass-elements.php HTTP/1.1" 200
25513 2923824
117.192.3.156 - - [15/Jul/2010:16:54:39 +0000] "GET
/content/chemistry/chemistry-i/matter/colloids-properties.php HTTP/1.1" 200
21113 12521112
Original issue reported on code.google.com by [email protected]
on 15 Jul 2010 at 5:14
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.