<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt"><span style="font-size: 10pt; font-family: tahoma,arial,sans-serif;"><strong>From</strong>: "Kevin Stange" <kevin@steadfast.net><br />
<strong>Sent</strong>: Friday, June 10, 2011 8:25 PM<br />
<strong>To</strong>: centos-mirror@centos.org<br />
<strong>Subject</strong>: Re: [CentOS-mirror] CentOS-6 CDs decision needs some stats</span><br />
<br />
On 06/10/2011 04:08 AM, Karanbir Singh wrote:<br />
> hi guys,<br />
> <br />
> For CentOS-6 we are thinking of dropping the CD isos from the main <br />
> distro. So there will only be an os/ and isos/ will have the DVD and <br />
> netinstall CD only.<br />
> <br />
> However, in order to make that decision we would love to get some stats <br />
> from mirror operators about download frequency of CD isos and DVD isos. <br />
> Would it be possible to get something like that ? Just numbers posted to <br />
> this list are fine. If we can get them split for CentOS-4 and CentOS-5, <br />
> even better.<br />
<br />
>>At Karanbir's request, I am posting the command I used to generate my<br />
>>stats, however inelegant it may be.  You need to modify the log file<br />
>>path (and perhaps switch to cat instead of zcat if your logs aren't<br />
>>compressed).  Also, replace the 5 with a 4 to get CentOS 4 results.<br />
<br />
>>zcat /var/log/httpd/mirror.steadfast.net.access_log.*.gz | grep -ve<br />
>>'\(404\|206\)' | awk '{ print $7 }' | grep '/centos/5.*\.iso$' | sort |<br />
>>uniq -c | sort -rn<br />
<br />
<br />
This worked great for me. Log was like 350MB for the last 30 days...<br />
<br />
Here is the output for 5.x<br />
     84 /centos/5.6/isos/i386/CentOS-5.6-i386-bin-DVD.iso<br />
     32 /centos/5.6/isos/x86_64/CentOS-5.6-x86_64-bin-DVD-1of2.iso<br />
     22 /centos/5.6/isos/x86_64/CentOS-5.6-x86_64-bin-DVD-2of2.iso<br />
     12 /centos/5.6/isos/x86_64/CentOS-5.6-x86_64-netinstall.iso<br />
     12 /centos/5.6/isos/i386/CentOS-5.6-i386-LiveCD.iso<br />
     12 /centos/5.6/isos/i386/CentOS-5.6-i386-bin-3of7.iso<br />
     11 /centos/5.6/isos/i386/CentOS-5.6-i386-netinstall.iso<br />
     10 /centos/5.6/isos/x86_64/CentOS-5.6-x86_64-bin-4of8.iso<br />
     10 /centos/5.6/isos/x86_64/CentOS-5.6-x86_64-bin-3of8.iso<br />
     10 /centos/5.6/isos/x86_64/CentOS-5.6-x86_64-bin-2of8.iso<br />
     10 /centos/5.6/isos/x86_64/CentOS-5.6-x86_64-bin-1of8.iso<br />
      9 /centos/5.6/isos/x86_64/CentOS-5.6-x86_64-bin-8of8.iso<br />
      9 /centos/5.6/isos/x86_64/CentOS-5.6-x86_64-bin-7of8.iso<br />
      9 /centos/5.6/isos/x86_64/CentOS-5.6-x86_64-bin-6of8.iso<br />
      9 /centos/5.6/isos/x86_64/CentOS-5.6-x86_64-bin-5of8.iso<br />
      8 /centos/5.6/isos/i386/CentOS-5.6-i386-bin-7of7.iso<br />
      8 /centos/5.6/isos/i386/CentOS-5.6-i386-bin-6of7.iso<br />
      8 /centos/5.6/isos/i386/CentOS-5.6-i386-bin-5of7.iso<br />
      8 /centos/5.6/isos/i386/CentOS-5.6-i386-bin-4of7.iso<br />
      8 /centos/5.6/isos/i386/CentOS-5.6-i386-bin-2of7.iso<br />
      8 /centos/5.6/isos/i386/CentOS-5.6-i386-bin-1of7.iso<br />
      3 /centos/5.5/isos/i386/CentOS-5.5-i386-bin-DVD.iso<br />
      1 /centos/5/isos/i386/CentOS-5.6-i386-bin-DVD.iso<br />
      1 /centos/5.4/isos/x86_64/CentOS-5.4-x86_64-bin-DVD.iso<br />
      1 /centos/5.4/isos/i386/CentOS-5.4-i386-bin-DVD.iso<br />
<br />
And here is 4.x<br />
     38 /centos/4.8/isos/i386/CentOS-4.8-i386-bin1of4.iso<br />
     17 /centos/4.8/isos/i386/CentOS-4.8-i386-binDVD.iso<br />
     17 /centos/4.8/isos/alpha/centos-4.3-alpha-disc4.iso<br />
     17 /centos/4.8/isos/alpha/centos-4.3-alpha-disc3.iso<br />
     17 /centos/4.8/isos/alpha/centos-4.3-alpha-disc2.iso<br />
     17 /centos/4.8/isos/alpha/centos-4.3-alpha-disc1.iso<br />
     16 /centos/4.8/isos/i386/CentOS-4.8-i386-bin4of4.iso<br />
     16 /centos/4.8/isos/i386/CentOS-4.8-i386-bin3of4.iso<br />
     16 /centos/4.8/isos/i386/CentOS-4.8-i386-bin2of4.iso<br />
     13 /centos/4.8/isos/x86_64/CentOS-4.8-x86_64-binDVD.iso<br />
     12 /centos/4.8/isos/x86_64/CentOS-4.8-x86_64-bin5of5.iso<br />
     12 /centos/4.8/isos/x86_64/CentOS-4.8-x86_64-bin4of5.iso<br />
     12 /centos/4.8/isos/x86_64/CentOS-4.8-x86_64-bin3of5.iso<br />
     12 /centos/4.8/isos/x86_64/CentOS-4.8-x86_64-bin2of5.iso<br />
     12 /centos/4.8/isos/x86_64/CentOS-4.8-x86_64-bin1of5.iso<br />
      3 /centos/4/isos/i386/CentOS-4.8-i386-binDVD.iso<br />
      2 /centos/4/isos/i386/CentOS-4.8-i386-bin1of4.iso<br />
      1 /centos/4.9/isos/x86_64/CentOS-4.8-x86_64-binDVD.iso<br />
      1 /centos/4.9/isos/i386/CentOS-4.8-i386-binDVD.iso<br />
<br />
    <br />
<br />
_______________________________________________<br />
CentOS-mirror mailing list<br />
CentOS-mirror@centos.org<br />
http://lists.centos.org/mailman/listinfo/centos-mirror<br />
<br /></span>