Results 1 to 28 of 28

Thread: pppla - your shiny new pproxy log analyser!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    almost retired the-mk's Avatar
    Join Date
    Jan 2003
    Location
    KI/OOE/Austria
    Posts
    1,921
    Blog Entries
    6
    output from new version 091:
    PHP Code:
    Overall OGR-27 PProxy stats based on 109 active days:

        
    Smallest:    0.2060 Gnodes (27/5-68-1-3-6-2), submitted on 25/04/2010
         Largest
    :  1,230.03 Gnodes (27/4-16-5-14-17-38), submitted on 14/02/2010
       Avg
    stub:     77.00 Gnodes
       Avg
    rate:    25,622  G/day0.30 Gnodes/sec333 stubs/day
     Most Gnodes
    :   127,960 Gnodes1.48 Gnodes/secon 01/01/2010
      Most stubs
    :     4,553  stubs190 stubs/houron 24/04/2010

          Totals
    2,792,813 Gnodes36,270 stubs (0.00599of stubspace
    I think it looks good!
    the-mk

  2. #2
    Dungeon Master alpha's Avatar
    Join Date
    Mar 2002
    Location
    Norfolk, UK
    Posts
    1,700
    Thanks!

  3. #3
    Dungeon Master alpha's Avatar
    Join Date
    Mar 2002
    Location
    Norfolk, UK
    Posts
    1,700
    It's been a while folks, are you ready for a new version bulging with features?

    v0.93:

    • New command line option "-d" allows you to specify a specific year, month or day that you want stats for. The format is YYYYMMDD.
    • New command line option "-p" is mandatory for project selection.
    • New command line option "-b" shows your 10 smallest stubs.
    • New command line option "-t" shows your 10 largest stubs.
    • New command line option "-u" uses dynamic units instead of Gnodes for everything.
    • The "most nodes" day now shows how many stubs were completed.
    • The "most stubs" day now shows how many nodes were completed.
    • Code cleanups.
    • Possibly some other stuff! This has been developed on and off over the last year and a half.


    I believe most options should be compatible with each other. For example, it is possible to choose to see your 10 largest stubs so far for this month, using dynamic units for project OGR-27. The command line option for this would be: "-p OGR-27 -t -u -d 201111". From this you can see that to choose a month you simply omit the day number.

    Please report any brokenness here, if anybody still uses this thing.
    Attached Files Attached Files

  4. #4
    Dungeon Master alpha's Avatar
    Join Date
    Mar 2002
    Location
    Norfolk, UK
    Posts
    1,700
    There's a bug in v0.93 which applies to the new -b and -t options. If you haven't submitted at least 10 stubs for the date specified, it will produce error messages. This was my fault due to a lack of testing, sorry!

    I won't bother releasing a bug fix for this, rather, I'll try to release a new version with a couple more improvements in the not so distant future.

  5. #5
    Dungeon Master alpha's Avatar
    Join Date
    Mar 2002
    Location
    Norfolk, UK
    Posts
    1,700
    Pro tip: With the new "-d" option, you can get daily stats automatically sent to you by putting something like this in your crontab:

    Code:
    59      23      *       *       *       cd /path/to/script/ ; /usr/bin/perl pppla_093.pl -p OGR-27 -d `/bin/date +\%Y\%m\%d` -u
    That works as-is on FreeBSD, but might need tweaking for Linux or other operating systems.

    New version coming soon with bug fix and a few tiny new bits.

  6. #6
    Dungeon Master alpha's Avatar
    Join Date
    Mar 2002
    Location
    Norfolk, UK
    Posts
    1,700
    v0.94:

    • Fixed a bug affecting "-b" and "-t" when there were not at least 10 stubs worth of data.
    • Corresponding stub marks have been added to the output of "-b" and "-t".
    • Corresponding submission dates have been added to the output of "-b" and "-t".
    • New command line option "-s" shows an additional stubspace breakdown for OGR projects, including contribution as a percentage of each stubspace.


    Example of "-b":

    Code:
    Smallest stubs for OGR-27:
    
    #1       - 0.40 Gnodes (27/1-66-16-3-4-2) on 15/02/2010
    #2       - 0.43 Gnodes (27/1-66-16-3-5-2) on 15/02/2010
    #3       - 0.61 Gnodes (27/23-45-4-9-1-2) on 20/05/2011
    #4       - 0.82 Gnodes (27/23-45-4-9-1-5) on 20/05/2011
    #5       - 0.95 Gnodes (27/23-45-4-9-1-7) on 20/05/2011
    #6       - 0.95 Gnodes (27/20-49-4-12-2-1) on 01/05/2011
    #7       - 0.99 Gnodes (27/23-45-4-9-1-6) on 20/05/2011
    #8       - 1.03 Gnodes (27/17-16-50-5-1-3) on 23/03/2011
    #9       - 1.04 Gnodes (27/20-49-4-12-3-2) on 01/05/2011
    #10      - 1.06 Gnodes (27/25-13-41-9-1-2) on 29/05/2011
    Example of "-t":

    Code:
    Largest stubs for OGR-27:
    
    #1       - 1,186.69 Gnodes (27/3-18-2-11-19-41) on 15/11/2011
    #2       - 1,157.12 Gnodes (27/4-3-17-12-14-44) on 06/05/2010
    #3       - 1,098.91 Gnodes (27/3-20-1-14-17-39) on 13/11/2011
    #4       - 1,079.32 Gnodes (27/1-20-9-2-24-38) on 08/09/2009
    #5       - 1,059.07 Gnodes (27/2-3-18-4-31-36) on 25/02/2010
    #6       - 1,049.72 Gnodes (27/1-20-9-3-24-37) on 14/09/2009
    #7       - 1,043.85 Gnodes (27/1-20-9-2-25-37) on 09/09/2009
    #8       - 1,017.24 Gnodes (27/2-3-18-4-30-37) on 25/02/2010
    #9       - 1,013.64 Gnodes (27/3-12-13-14-4-48) on 12/11/2011
    #10      - 1,006.35 Gnodes (27/5-6-14-4-27-38) on 17/05/2010
    Example of "-s" (with -u enabled):

    Code:
    Overall OGR-27 PProxy stats based on 464 active days:
    
        Smallest: 395.76 Mnodes (27/1-66-16-3-4-2), submitted on 15/02/2010
         Largest:   1.19 Tnodes (27/3-18-2-11-19-41), submitted on 15/11/2011
       Avg. stub:  90.33 Gnodes
       Avg. rate:   2.31  T/day, 26.76 Mnodes/sec, 26 stubs/day
      Most nodes:  10.79 Tnodes (119 stubs), 124.87 Mnodes/sec, on 16/04/2011
      Most stubs:    231  stubs (8.08 Tnodes), 10 stubs/hour, on 14/02/2010
    
     Stubspace 2:    436 (0.24341%)
     Stubspace 3:    221 (0.00342%)
     Stubspace 4: 11,218 (0.00379%)
    
          Totals:   1.07 Pnodes, 11,875 stubs (0.00196% of stubspace)
    Feedback and script output is very welcome, and encouraged.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •