Code Monkey home page Code Monkey logo

apache-response-time's People

Contributors

makeyourownmaker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

apache-response-time's Issues

Bug

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

Error while trying to track any files

Hi @makeyourownmaker,

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

Failure when date is specified using -d option which is not present in access file

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

Unable to Analyze WebLogic Access Log

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.

sample.log

Illegal dvision by zero

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.