[CentOS-mirror] CentOS-6 CDs decision needs some stats

Sat Jun 11 00:24:31 UTC 2011
Kevin Stange <kevin at steadfast.net>

On 06/10/2011 04:08 AM, Karanbir Singh wrote:
> hi guys,
> 
> For CentOS-6 we are thinking of dropping the CD isos from the main 
> distro. So there will only be an os/ and isos/ will have the DVD and 
> netinstall CD only.
> 
> However, in order to make that decision we would love to get some stats 
> from mirror operators about download frequency of CD isos and DVD isos. 
> Would it be possible to get something like that ? Just numbers posted to 
> this list are fine. If we can get them split for CentOS-4 and CentOS-5, 
> even better.

At Karanbir's request, I am posting the command I used to generate my
stats, however inelegant it may be.  You need to modify the log file
path (and perhaps switch to cat instead of zcat if your logs aren't
compressed).  Also, replace the 5 with a 4 to get CentOS 4 results.

zcat /var/log/httpd/mirror.steadfast.net.access_log.*.gz | grep -ve
'\(404\|206\)' | awk '{ print $7 }' | grep '/centos/5.*\.iso$' | sort |
uniq -c | sort -rn

-- 
Kevin Stange
Chief Technology Officer
Steadfast Networks
http://steadfast.net
Phone: 312-602-2689 ext. 203 | Fax: 312-602-2688 | Cell: 312-320-5867

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos-mirror/attachments/20110610/2fdfdaf2/attachment-0004.sig>