#!/sprite/cmds/csh -f

set tmpfile = /tmp/xg$$
onintr cleanup

cat << EOF > $tmpfile 
  0.00   3.79
  0.39   5.85
  0.78   5.98
  1.17   6.01
  1.42  10.13
  1.81  11.01
  2.20  11.11
  2.59  12.39
  2.83   7.54
  3.22   8.12
  3.61   8.54
  4.00   8.27
  4.25  14.34
  4.64  15.84
  5.03  16.85
  5.42  17.31
  5.66   9.72
  6.05  10.28
  6.45  10.97
  6.84  11.17
  7.08  21.52
  7.47  21.98
  7.86  23.11
  8.25  13.78
  8.50   8.79
  8.89   9.25
  9.28   9.68
  9.67   9.80
  9.91  17.42
 10.30  18.34
 10.69  19.96
 11.08  20.24
 11.33  11.51
 11.72  12.03
 12.11  12.27
 12.50  12.70
 12.74  24.61
 13.13  24.54
 13.53  26.24
 13.92  26.46
 14.16  13.27
 14.55  13.69
 14.94  13.97
 15.33  14.26
 15.58  27.51
 15.97  28.35
EOF
xgraph -x "Bytes per RPC" -y "Milliseconds" -t "RPC latency" $tmpfile
cleanup:
    rm -f $tmpfile

