#48446 logconv.pl displays negative operation speeds
Closed: Fixed None Opened 3 years ago by mreynolds.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1301097

Description of problem:
When I run logconv.pl on access* logs (as man page says), operation speeds are
negative:
$ logconv.pl access*

Searches:                     2             (-0.01/sec)  (-0.42/min)
Modifications:                1             (-0.00/sec)  (-0.21/min)
Adds:                         0             (-0.00/sec)  (-0.00/min)
Deletes:                      0             (-0.00/sec)  (-0.00/min)
Mod RDNs:                     0             (-0.00/sec)  (-0.00/min)
Compares:                     0             (-0.00/sec)  (-0.00/min)
Binds:                        2             (-0.01/sec)  (-0.42/min)


But when I run it as:
$ logconv.pl access.* access

Searches:                     2             (0.01/sec)  (0.40/min)
Modifications:                1             (0.00/sec)  (0.20/min)
Adds:                         0             (0.00/sec)  (0.00/min)
Deletes:                      0             (0.00/sec)  (0.00/min)
Mod RDNs:                     0             (0.00/sec)  (0.00/min)
Compares:                     0             (0.00/sec)  (0.00/min)
Binds:                        2             (0.01/sec)  (0.40/min)

Issue is with the order of new and old access log files that are passed to
logconv.pl.
In order to display right numbers, I need to run it with the list of files
starting from the oldest one to the newest one.
We might as well fix the man page to explicitly mention that.

Version-Release number of selected component (if applicable):
389-ds-base-1.3.4.0-25.el7_2.x86_64

6566d89..257006f master -> master
commit 257006f
Author: Mark Reynolds mreynolds@redhat.com
Date: Fri Jan 29 10:34:22 2016 -0500

Metadata Update from @mreynolds:
- Issue assigned to mreynolds
- Issue set to the milestone: 1.3.5.0

2 years ago

Login to comment on this ticket.

Metadata