Instructions:
mwalk generate

Home | Publications | Download | Instructions
Synthesized Trees | Efficiency Study | Anatomy Study

generate | parse | upath | build | animate

The generate action of mwalk runs the generate.pl perl script. Generate.pl produces two logs similar to the output from MHealth. This output can be parsed and used to build a representation of the multicast tree.

The user passes the hostname or IP address of a machine to use as the source of the generated tree and the name of a file with a list of receiver IPs. For each receiver, the script first pings the host to ensure that it is reachable. Then it attempts to perform an mtrace using the null group (0.0.0.0) producing the most likely reverse-path.

Each mtrace is timestamped to simulate the progression of a multicast session. The timestamp is incremented after a certain number of traces (block) have been attempted. The initial timestamp and the block size can be passed as parameters to the script.

To run the generate action, use the syntax listed below. If you want to generate logs for use with the other scripts, you must include the --log option. Otherwise, general statistics will be gathered and you have the option of building the trace list in memory (--build) that can then be queried interactively (--interactive). If a source is not specified, then the localhost will be used. The default receiver file is "receivers", the default timestamp is the current time, and the block size defaults to 10.

Generate.pl uses mtrace. The configure script does not check for its existence at the time of build/installation. The script assumes that it is in the user's search path.

    mwalk generate [-i|--interactive] [-v|--verbose] [-l|--log]
                   [-so|--source=] [-r|--receiver=]
                   [-s|--stats=] [-d|--dir=] 
                   [-t|--timestamp=] [-bs|--block_size=]
                   [-f|--fussy] [-a|--append] [-b|--build] [-h|--help]
    Options:
      -i  --interactive  run in an interactive mode
      -v  --verbose      print verbose messages
      -l  --log          generate processing logs
      -so --source       host to use as source of mtrace [localhost]
      -r  --receiver     list of receivers to trace [receivers]
      -s  --stats        generate statistics log [stats]
      -d  --dir          output directory [.]
      -t  --timestamp    beginning timestamp for session [now]
      -bs --block_size   receivers to process before advancing timestamp [10]
      -f  --fussy        use strict parsing
      -a  --append       append to existing log files
      -b  --build        accumulate traces in memory
      -h  --help         print this message
        
contact us at robertc@cs.ucsb.edu updated 05.01.01