您的位置:首页 > 理论基础 > 计算机网络

NS 2.35 柯志亨书-实验3笔记-TCP UDP模拟

2013-05-12 13:09 363 查看
View Code

#!/bin/bash

file=cbr_throughput

##########################
# awk
awk -f $file.awk example1.tr > $file

##########################
# gnuplot
gnuplot -persist<<EOF

#set terminal gif
#set output "$file.gif"
set title "$file"
set xlabel "simulation time"
set ylabel "time/s"
unset key

plot "$file" with linespoints

EOF
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: