Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


There are two scripts. They both require sudo privileges to run (e.g. sudo ping-vs-tcp.pl) and have an option --prot <4|6> for IPv4 vs IPv6. Help is available via the --help option. The output in both cases goes to STDOUT, e.g. sudo ping-vs-tcp.pl --prot 4 | tee pg-v4-sl.txt (if you are using ping-vs-tcp-ps then change pg to ps(short for PingER) to ps (short for perfSONAR), for Chinese MA change sl sl (short for SLAC) to ch (short for China), for Unimas MA change to my, Thailand change to th). IPv4 measurements in both cases take about 7 hours. You can obtain a copy of each of the scripts from cottrell@slac.stanford.edu

  1. ping-vs-tcp-ps.pl. This requires you to provide a configuration file (e.g. ping-vs-tcp-ps.pl –conf sq-v4-lc.cf | tee ps-v4-ch.txt for Chinese MA.
    1. The form of the config file name is <source of target hosts, e.g. lc for Les, sq for Saqib>-<IPv 4 or 6>-<site of MA, sl for SLAC, ch for China, th for Thailand, my for Malaysia>.<cf=configuration file> 
    2. The configuration files are available at:
      1. http://www.slac.stanford.edu/comp/net/mon/tool/ps-v4-lc.cf
      2. http://www.slac.stanford.edu/comp/net/mon/tool/ps-v6-sq.cf
      You can obtain a copy of the script from
  2. ping-vs-tcp.pl. This gets its configuration by using wget to get the SLAC PingER database of hosts, so there is no configuration option (–conf). To run use for example use sudo ping-vs-tcp.pl --prot 4 | tee pg-v4-sl.txt.

The form of the config file is <source of target hosts, e.g. lc for Les, sq for Saqib>-<IPv 4 or 6>-<site of MA, sl for SLAC, ch for China, th for Thailand, my for Malaysia>.<cf=configuration file> The form of the file STDOUT is sent file name STDOUT is tee'd to is <source of target, i.e. pg for PingER and ps for perfSONAR>-<site of MA, sl for SLAC, ch for China, th for Thailand, my for Malaysia>.txt

...