Versions Compared

Key

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


Please use ~cottrell/bin/There are two scripts. They both require sudo privileges to run (e.g. sudo ping-vs-tcp-ps.pl –prot 4 –conf ~cottrell/ps-v4-lc.cf | tee ps-v4-ch.txt for Chinese MA, for SLAC MA change ch to sl.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 (short for PingER) to ps (short for perfSONAR), for Chinese MA change sl (short for SLAC) to ch (short for China), for Unimas MA change to myto my, Thailand change to th.To make IPv4 measurements from perfSONAR hosts in  the conf(ig) file, it will run for about 6 hours. 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

...

    1. file name is <source of

...

    1. target hosts, e.g. lc for Les, sq for Saqib>-<IPv 4 or 6>

...

    1. -<site of MA, sl for SLAC, ch for China, th for Thailand, my for Malaysia>.<cf=

...

    1. 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
  1. 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 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

Then proceed as follows for example:

  • grep summary pg-v4-sl.txt >! pg

If you see lc in the config file name it means I (Les Cottrell)  created it, if you see sq Saqib created it etc.

Then: