Z39 server log files analyzer
Tags: server, z39, intermediate
Last Updated: Feb 24, 2010 11:37
- Description
The Z39 server log is obscure and confusing, and it is very difficult to analyze it for beneficial statistical data. This programme does all the hard work, resulting in a clear and simple report that would help you understand how your Z39 server is actually used by clients.
- Author: Dror Berger
- Additional author(s):
- Institution: Beit Ariela Public Library
- Year: 2010
- 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:
intermediate
State
Stable
Programming language
gawk
Software requirements
gawk is a part of Linux, but it should be installed on other operating systems (from GNU's site: http://www.gnu.org/software/gawk/).
Screen captures

Author(s) homepage
http://www.markvelinda.com
Download
http://libnet.ac.il/codeshare/analyze_z39_server.tar.gz
The package contains 2 files:
1. A shell script, named: analyze_z39_server
2. A GAWK script, named: analyze_z39_server.awk
Installation instructions
Open the source package in any directory.
Run the shell script analyze_z39_server provided in the package.
The output file is named: Z39_report.txt
 | By default, the shell script concatenates all z39 server log files found in the LOGDIR directory. If you wish to examine other files, correct the shell script. |
 | The order of the concatenated files only matters to the information lines about log file start and end time, and has no significance to the accuracy of the statistics. |
 | A session is defined as a Z39.50 channel opened to your server. Many queries can be sent in a single session, and a session can send no query at all. |