Need help with script problem

Paul W. Frields stickster at gmail.com
Thu Jul 11 22:44:12 UTC 2013


On Thu, Jul 11, 2013 at 06:40:02PM -0400, Paul W. Frields wrote:
> On Wed, Jul 10, 2013 at 04:59:58PM -0600, Kevin Fenzi wrote:
> > On Wed, 10 Jul 2013 17:12:23 -0400
> > "Paul W. Frields" <stickster at gmail.com> wrote:
> > 
> > > The direct download numbers I'm gathering via script for F19 seem way
> > > off.  So much so that I think I must be missing a good bit of data.
> > > 
> > > The script I'm using is attached.  Can someone help me understand
> > > where I might be missing relevant data?  Looking through the entire
> > > hosts log structure is kind of daunting but I'm thinking there might
> > > have been some well-known change that moved a chunk of log data to a
> > > place I'm not looking through.
> > 
> > For one thing the logs are now bz2'ed... 
[...snip patch, thanks!...]
> > I have no idea if those numbers look better or not tho, there might be
> > something more going on. 
> 
> Still looks really anemic.
> 
> $ NDAYS=9 ~/bin/dl-stats.sh
[...snip...]
> That's roughly a half order of magnitude off from what I'd expect.

*sigh* Part of the problem is, I'm an idiot.  Attached is the correct
script.  Note the use of 'rightcat' which is just a simple shell
thingie I made to do the right thing for .gz and .bz2.

A fresh review is greatly appreciated!

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
    The open source story continues to grow: http://opensource.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvd-vs-live.sh
Type: application/x-sh
Size: 2130 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20130711/63aa2331/attachment-0001.sh>


More information about the infrastructure mailing list