Papers
Autotuning
Projects
Software
Websites
Related Projects
Miscellaneous |
tdg: TcpDump Grapher
Synopsis:tdg is used to produce time-sequence plots from tcpdump files. It is used to view a unidirectional flow or half of a bidirectional flow: Data packets flowing in one direction, with ACKs flowing in the other.
Jeffrey Semke Pittsburgh Supercomputing Center February 24, 1999
|
Usage:
tcpdump -w filename.trace -i interface -s 100 host sender and host receiver
Sniffs traffic on interface, saving 100 bytes of the header for all
traffic between sender and receiver, saving the output to a file
named filename.trace.
tcpdump -r filename.trace -n > filename.txt
Reads the tracefile named filename.trace, not resolving IP addresses to
hostnames, saving the output to a textfile named filename.txt.
tdg filename.txt sender acker [sack] [rwin] | xgraph
Produce text output from filename.txt in the form of an xgraph
input file. sender and acker are the IP address or name
(and optionally, the port number), as they appear in the
filename.txt file. Graphs show sequence numbers of data
packets and ack packets over time. Only data packets from the
sender to the acker are displayed, while ACK packets
from the acker to the sender are displayed. If the
option sack is included, SACK blocks will be displayed in the
graph. If the option rwin is included, the receiver's
advertised window will be displayed, as well.
Requirements:
Download tdg:
This tool was written exclusively for our own TCP research work, and
was not intended to be used by anyone else. Since it may be useful for
others, we have decided to make it available to the community, but make no
guarantees whatsoever. We do welcome feedback.
The tdg perl script may be downloaded from
http://www.psc.edu/networking/ftp/tools/tdg.
|
|
|
|
||||||
This material is based in whole or in part on work supported by the National Science Foundation under Grant Nos. 9415552, 9870758, 9720674, or 9711091. Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation (NSF).
© Pittsburgh Supercomputing Center (PSC), Carnegie Mellon University
URL: http://www.psc.edu/networking/tdg.html $url = sprintf("%s",$REQUEST_URI); echo $url; ?>
Revised: Monday, 08-May-2006 15:14:32 EDT