Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Average Node XP per Month -- oneliner

by Discipulus (Abbot)
on Apr 26, 2017 at 12:30 UTC ( #1188964=note: print w/replies, xml ) Need Help??


in reply to Average Node XP per Month

..using directly the xp.out file you can have an yearly overview with:
# win double quotes! perl -F"/\-|\s/" -lane "$m{$F[0]}[0]++;$m{$F[0]}[1]+=$F[2]}{map{print +join' ',$_,$m{$_}[1]/$m{$_}[0]}sort keys %m" xp.out

PS thanks choroba for such a tool, to use not so often!

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1188964]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2021-11-28 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?