← Back to team overview

fenics team mailing list archive

Re: download statistics

 

On Thu, Oct 30, 2008 at 11:31:47AM +0100, Ilmar Wilbers wrote:
> A few ideas:
> I tried redefining some hooks to keep track of the number of initial 
> clones, but that didn't work. So we have to use the apachelogs located 
> in /var/log/apache2/www.fenics.org
> 
> A clone is indicated in the log file by 
> cmd=changegroup&roots=0000000000000000000000000000000000000000
> 
> Any other value but a lot of zeros indicates a pull.
> 
> Using zgrep and the following command:
> zgrep 'GET /hg/dolfin.*000000000000' fenics-access.log* | grep 2008 | wc -l
> 
> shows that the number of clones so far in 2008 is 8757. Grepping further 
> for adresses within Simula/UiO (IP's starting with 129.240), shows that 
> 7960 of those 8757 clones came from within, leaving the number of fresh 
> clones from other IP's at 797. The reason for the high number of 
> internal requests is due to the buildbot and the cronjob running every 
> hour to create snapshots.
> 
> Note that checkouts using ssh are not part of these statistics, only 
> using http.

That should be fine. The ssh clones are only by people with accounts
on fenics.org (developers) and we don't need to count ourselves... :-)

> Should we create a cronjob running a script the first day of every month 
> collecting the statistics from the previous month?

Why not run it every night as we do now?

-- 
Anders


> ilmar
> 
> Johannes Ring wrote:
> > On Thu, October 30, 2008 08:31, Anders Logg wrote:
> >> On Thu, Oct 30, 2008 at 08:27:20AM +0100, Johannes Ring wrote:
> >>> On Wed, October 29, 2008 16:56, Anders Logg wrote:
> >>>> On Wed, Oct 29, 2008 at 10:05:52AM -0500, Robert Kirby wrote:
> >>>>> The download statistics on fenics.org are interesting and hopefully
> >>>>> helpful
> >>>>> making the case that our stuff is widely used when it's time for
> >>>>> proposal
> >>>>> writing.
> >>>>>
> >>>>> It might also be interesting if we could tally the download requests
> >>> by
> >>>>> country/continent, on the basis of incoming IP addresses.  We could
> >>>>> keep month-by-month and cumulative statistics on where the downloads
> >>>>> are going.
> >>>>>
> >>>>> Rob
> >>>> I agree, and now that we also have Ubuntu packages and hg access, we
> >>>> also need to track this. I imagine those downloads may be of the same
> >>>> size as the tarball downloads.
> >>>>
> >>>> I think this is already on the todo-list of one of our scientific
> >>>> programmers, but I don't know where. Johannes? Ilmar?
> >>> It's not on my todo-list.
> >>>
> >>> Johannes
> >> ok, I'll gently ask your boss to put it on your todo-list... ;-)
> > 
> > Okay :-)
> > 
> > Johannes
> > 
> > _______________________________________________
> > FEniCS-dev mailing list
> > FEniCS-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/fenics-dev
> _______________________________________________
> FEniCS-dev mailing list
> FEniCS-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/fenics-dev

Attachment: signature.asc
Description: Digital signature


Follow ups

References