Re: 借问香港VPS



On 08/31/2013 12:09 AM, Zhang Weiwu wrote:
awk 'substr($1, 3) < 10 {speed[$4] += substr($1, 3)+0; count[$4]++ } END { for (i in count) { print int(speed[i]/count[i]*1000+0.5)/1000 "\t" count[i] "\t" i;}}' wget--spider.lst | sort -n | cat -n
我是北京网通的。测试结果如下:

     1    0.15    3    http://www.95881.com/
     2    0.183    3    http://123.254.110.1/
     3    0.253    3    http://hk.vr.org/
     4    0.333    3    http://www.hostmacau.com/
     5    0.387    3    http://www.macaueb.com/
     6    0.62    3    http://ck.o1.v130a.sin.host8.biz/
     7    0.62    3    http://www.bjgug.org/
     8    0.927    3    http://weiwu.sdf.org/
     9    1.073    3    http://www.greengeeks.com/
    10    1.115    2    http://www.arvixe.com/
    11    1.183    3    http://www.a2hosting.com/
    12    1.34    3    http://www.inmotionhosting.com/
    13    2.86    3    http://tribecacloud.com/
    14    2.873    3    http://peer1.com/
    15    3.89    3    http://www.aiyee.org/


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