response.sh
上传用户:rrhhcc
上传日期:2015-12-11
资源大小:54129k
文件大小:1k
源码类别:

通讯编程

开发平台:

Visual C++

  1. #! /bin/csh
  2. rm -f response/flows* response/tmp* response/dropRate* response/data*
  3. set t1=360
  4. foreach p ( 0.01 0.02 0.03 )
  5. echo "Doing p = $p"
  6. ns red-pd.tcl one netTestFRp Response p ${p} period 1 testUnresp 0 time $t1
  7. mv one.netTestFRp.Response.1.flows flows1-${p}
  8. response/response.pl flows1-${p} ${p} 0.040 > data1-${p}
  9. end
  10. set noFlows=5
  11. ns red-pd.tcl one netTestFRp Response p 0.01 flows ${noFlows} period 1 testUnresp 0 time $t1
  12. mv one.netTestFRp.Response.1.flows flowsMulti
  13. response/response.pl flowsMulti 0.01 0.040 > dataMulti
  14. mv flows* data* response
  15. cd response
  16. gnuplot response.gp
  17. gv response.ps &
  18. gv response2.ps &
  19. cd ..