Changeset 263


Ignore:
Timestamp:
Nov 13, 2009, 1:27:03 PM (11 years ago)
Author:
zerodeux
Message:

Releasing 0.3 - time/span bugfix + multiple reports at once

Location:
phptop
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • phptop/NEWS

    r262 r263  
    1 phptop 0.3 - unreleased
     1phptop 0.3 - 2009-11-13
    22
    33    * Fixed an awful bug about timespan being 12x less than necessary
     
    55    * Changed default time span from 1h to 10min
    66    * Reordered parsing regexes for more logical and faster result
     7    * Now -s accepts mutiple keys and output one report per sort key
    78
    89phptop 0.2.2 - 2009-11-06
  • phptop/TODO

    r260 r263  
    11- Limit URI column width
    22- HTML output mode
    3 - Allow many -s options to generate multiple reports in one pass
    4   (very useful with HTML mode, eg. generate a full report every hour)
    53- Use 'tac' to parse logs if available (faster)
  • phptop/debian/changelog

    r260 r263  
     1phptop (0.3) stable; urgency=low
     2
     3  * Upstream update
     4
     5 -- Vincent CARON <vcaron@bearstech.com>  Fri, 13 Nov 2009 13:26:27 +0100
     6
    17phptop (0.2.2) stable; urgency=low
    28
  • phptop/phptop

    r262 r263  
    2626
    2727my $package_name    = 'phptop';
    28 my $package_version = '0.3-dev';
     28my $package_version = '0.3';
    2929my $package_owner   = 'Copyright (C) 2009 Bearstech - http://bearstech.com/';
    3030my $package_url     = 'http://forge.bearstech.com/trac/wiki/PhpTop';
     
    152152
    153153sub fix_stat {
    154     # Convert memory and include values from total to 'per hit', more useful and meaningful
     154    # Convert 'mem'  and 'inc' values from total to 'per hit', more useful and meaningful
    155155    while (my ($url, $i) = each %stat) {
    156         $i->{'mem_max'} /= 2**20;  # Also scale memory values from bytes to MB
    157         $i->{'mem'} /= $i->{'hit'} * 2**20;
     156        $i->{'mem_max'} /= 2**20;            # Also scale memory values from bytes to MB
     157        $i->{'mem'} /= $i->{'hit'} * 2**20;  # Idem
    158158        $i->{'inc'} /= $i->{'hit'};
    159159    }
     
    234234
    235235my @sortkeyl = split(/,/, $sortkeys);
    236 text_report($_) foreach @sortkeyl;
     236
     237my $reportnb = 0;
     238foreach (@sortkeyl) {
     239  print "--\n" if $reportnb++;
     240  text_report($_);
     241}
Note: See TracChangeset for help on using the changeset viewer.