The sc_attach utility provides the ability to connect to a running scamper(1) instance, have a set of
commands defined in a file be executed, and the output be written into a single file, in warts format.
The options are as follows:
-? prints a list of command line options and a synopsis of each.
-d prints each command sent to scamper(1) on stderr.
-D causes sc_attach to operate as a daemon.
-v prints the current revision of sc_attach and exits.
-ccommand
specifies the scamper(1) command to prepend to each address in the input file.
-iinfile
specifies the name of the input file which consists of a sequence of scamper(1) commands or
addresses (with the -c option), one per line. If '-' is specified, commands are read from stdin.
-ooutfile
specifies the name of the output file to be written. The output file will use the warts format.
If '-' is specified, output will be sent to stdout.
-Ooptions
allows the behavior of sc_attach to be further tailored. The current choices for this option
are:
-random: shuffle the input commands randomly.
-impatient: send commands to scamper without waiting for scamper to ask for them.
-p[ip:]port
specifies the IP address and port where a scamper(1) is accepting control socket connections. If
an IP address is not specified, sc_attach connects to the specified port on the local host.
-Ppriority
specifies the mixing priority scamper(1) should assign to the source.
-Runix-domain
specifies the unix domain socket on the local host where a remote scamper(1) instance is
accepting commands.
-Uunix-domain
specifies the unix domain socket on the local host where a local scamper(1) isntance is accepting
commands.