Install Scamper in ubuntu
Open the terminal and run the following command
sudo apt-get install scamper
scamper [-c command] [-p pps] [-M monitorname] [-s sport] [-H holdtime] [-o outfile] [-O outtype] [-i addr 1..N | listfile | -D port]
First, scamper can be supplied a list of addresses on the command line with the -i option. scamper will then measure each of the supplied addresses, in parallel, and output the results as each task completes.
Second, scamper can be supplied a list of addresses in a listfile, one address per line. Finally, scamper can be started as a daemon listening on a port specified with the -D option only accessible on the local host.scamper will then accept connections to that port, where commands can be supplied to scamper.
To use the default traceroute command to trace the path to 192.168.1.1:
scamper -i 192.168.1.1
To infer Path MTU changes in the network and associate them with a
scamper -c "trace -M" -i 192.168.1.1
To use paris UDP traceroute, using 3 probes per hop, sending all probes:
scamper -c "trace -P UDP-paris -q 3 -Q" -i 192.168.1.1
To ping a series of addresses defined in filename, probing each address 10 times:
scamper -c "ping -c 10" filename