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\n";
  
 close(FH);

 

转载于:https://www.cnblogs.com/foreverwith/p/6830595.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值