Analyze www_server logs. Output includes number of events in each hour, average elapsed time per event, number of events that take longer than n seconds, percentage of events that take longer than n seconds, number of reply timeouts, number of network connection timeouts.
- Author: Erik Biever
- Additional author(s):
- Institution: University of MinnesotaUniversity of Minnesota
- Year: 2009
- License: BSD style
- Short description: Use, modification and distribution of the code are permitted provided the copyright notice, list of conditions and disclaimer appear in all related material.
- Link to terms: [Detailed license terms]
- *Skill required for using this code:*basic
Choose one of the following: basic, intermediate, advanced, expert. Please also add your choice as a tag at the bottom of the page.
No additional modules needed, just plain perl.
Attach the code file(s) to this page and link to them here.
Page attachments management can be reached from the top-right menu - 'attachments' after page save.
How to run it: analyze_www_server_log <filename(s)>
Filename argument can be a single file or a group of files.
Place in any convenient directory from which you can run an executable script.
|If you capture output to a filename ending in .xls, you can easily open the file in Excel or OpenOffice.org.|