Re: Need help with script problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 10 Jul 2013 17:12:23 -0400
"Paul W. Frields" <stickster@xxxxxxxxx> 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@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@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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux