home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / hppicmd / results.latency / xg.tput < prev    next >
Encoding:
Text File  |  1991-01-15  |  674 b   |  47 lines

  1. #!/sprite/cmds/csh -f
  2.  
  3. set tmpfile = /tmp/xg$$
  4. onintr cleanup
  5.  
  6. cat << EOF > $tmpfile 
  7. "ultranet
  8.   0.00   0.00
  9.   1.00   1.24
  10.   2.00   1.74
  11.   3.00   2.02
  12.   4.00   2.19
  13.   5.00   2.31
  14.   6.00   2.39
  15.   7.00   2.46
  16.   8.00   2.52
  17.   9.00   2.56
  18.  10.00   2.59
  19.  11.00   2.62
  20.  12.00   2.65
  21.  13.00   2.66
  22.  14.00   2.69
  23.  15.00   2.70
  24.  16.00   2.72
  25.  17.00   2.73
  26.  18.00   2.74
  27.  19.00   2.75
  28.  20.00   2.76
  29.  21.00   2.77
  30.  22.00   2.77
  31.  23.00   2.78
  32.  24.00   2.79
  33.  25.00   2.79
  34.  26.00   2.80
  35.  27.00   2.81
  36.  28.00   2.81
  37.  29.00   2.82
  38.  30.00   2.82
  39.  31.00   2.82
  40.  32.00   2.83
  41. EOF
  42. xgraph -x "Kbytes per packet" -y "MB/sec" -t "Throughput (one-way)" \
  43.     $tmpfile
  44. cleanup:
  45.     rm -f $tmpfile
  46.  
  47.