zoukankan      html  css  js  c++  java
  • caida的测量工具scamper

    http://data.caida.org/datasets/topology/trmethod-200808/scamper-cvs-20080808b.tar.gz
    一开始在上面这个链接下载,解压后不知道为什么没有configure...
    http://www.caida.org/tools/measurement/scamper/
    这里下载的有configure 然而我发现Ubuntu下apt-get就直接安装完毕了,就偷懒了。。
    You can analyze this data (available in the 'warts' format) with the
      sc_analysis_dump tool included in the 'scamper' distribution, which
      you can download from
    
         http://www.wand.net.nz/scamper/
           or
         http://data.caida.org/datasets/topology/trmethod-200808/scamper-cvs-20080808b.tar.gz
    
      The sc_analysis_dump tool prints out information about each trace
      in an easy-to-parse textual format (one trace per line).  You would
      typically write a perl script to analyze the output of sc_analysis_dump.
      
      Another tool you may want to consider is the warts-dump tool, which
      is also included in the scamper distribution.  The output of warts-dump
      is somewhat less easy to parse, but warts-dump prints out practically
      all information contained in a warts file.
    
      Finally, you can write your analysis scripts in the Ruby language
      using rb-wartslib, an easy-to-use Ruby binding to the warts I/O
      library.  You can learn more about it at
    
         http://rb-wartslib.rubyforge.org/
    
      Ruby is a great scripting language and well worth learning for its
      own sake.  See http://www.ruby-lang.org
    http://www.caida.org/tools/measurement/scamper/ 这里只看到了sc_analysis_dump工具,不知道warts-dump在哪里,
    推荐写perl脚本,我觉得可能还是可以用python的?
    还有个工具是
    • sc_warts2json: print a JSON object representing each warts object in a file.

    The sc_analysis_dump utility only outputs traceroute data; for parsing other types of measurement, use
    sc_warts2json(1) instead
    似乎第二个工具是解析别的类型数据

    ----------------------------

    2017.5.9晚上 

    用perl脚本将sc_analysis_dump 的结果导出来了,然后用python各种切片分析...

    感叹一下,神奇的perl~

    $res=`sc_analysis_dump alexa-20080124.warts`;
    open(FH, ">aa.txt") or die $!; 
     print FH $res;#向文件写入内容
     #print FH "OK
    ";
      
     close(FH);
  • 相关阅读:
    C & 指针
    分析Android (build/core/*.mk脚本)
    C#.net调用axis2webService
    MongoDB 配置文件启动
    mongodb 简单部署方案及实例
    MongoDB 权限认证
    MongoDB索引介绍
    mongodb 全文检索
    MongoDB 覆盖索引查询
    mongodb MongoDB 聚合 group
  • 原文地址:https://www.cnblogs.com/foreverwith/p/6830595.html
Copyright © 2011-2022 走看看