Need help with script problem

Kevin Fenzi kevin at scrye.com
Wed Jul 10 22:59:58 UTC 2013


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... 

ie: 

/var/log/hosts/proxy09.vpn.fedoraproject.org/2013/07/09/http/download.fedoraproject.org-access.log.bz2

[kevin at log02 ~]$ egrep
"Fedora-19.*\.iso" /var/log/hosts/proxy09.vpn.fedoraproject.org/2013/07/09/http/download.fedoraproject.org-access.log.bz2
| wc -l 0 
[kevin at log02 ~]$ bzgrep
"Fedora-19.*\.iso" /var/log/hosts/proxy09.vpn.fedoraproject.org/2013/07/09/http/download.fedoraproject.org-access.log.bz2
| wc -l 1478

Patch: 

15,16c15,16
<   egrep "Fedora-$RELEASE.*\.iso" \
<       /var/log/hosts/proxy*/${YEAR}/${MONTH}/${DAY}/http/download.fedoraproject.org-access.log
| \ ---
>   bzgrep "Fedora-$RELEASE.*\.iso" \
>       /var/log/hosts/proxy*/${YEAR}/${MONTH}/${DAY}/http/download.fedoraproject.org-access.log.bz2
> | \

I have no idea if those numbers look better or not tho, there might be
something more going on. 

kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20130710/28db62c9/attachment.sig>


More information about the infrastructure mailing list