Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
5
tcptrace(1) - Linux man page
Name
tcptrace - a TCP connection analysis tool
Synopsis
site search 6
1
tcptrace [options] filename
Toys
world sunlight 11
moon phase 12
trace explorer 13
35
Ads by Google Ads b
Linux PDF 15
33
Tracing IP 16 DataScene Graphing 19
Scan IP 17 2D&3D Bar, Pie, Line, Area & more. Analysis
What Is My IP 18 & easy graph animation.
www.cyber-wit.com 23
22
-b
brief output format
-l
long output format
-r
print rtt statistics (slower for large files)
-W
report on estimated congestion window (not generally useful)
-q
Graphing options
-T
create throughput graph[s], (average over 10 segments, see -A)
-R
create rtt sample graph[s]
-S
create time sequence graph[s]
-N
create owin graph[s] (_o_utstanding data on _N_etwork)
-F
create segsize graph[s]
-G
create ALL graphs
-D
print in decimal
-X
print in hexadecimal
-n
don't resolve host or service names (much faster)
-s
use short names (list "picard.cs.ohiou.edu" as just "picard")
-iN
ignore connection N (can use multiple times)
-oN[-M]
only connection N (or N through M). Arg can be used many times. In N is a file rather than a number,
read list from file instead.
-c
ignore non-complete connections (didn't see syn's and fin's)
-BN
first segment number to analyze (default 1)
-EN
last segment number to analyze (default last in file)
-C
produce color plot[s]
-M
produce monochrome (b/w) plot[s]
-AN
Average N segments for throughput graphs, default is 10
-z
zero axis options:
-z
plot time axis from 0 rather than wall clock time (backward compat)
-zx
plot time axis from 0 rather than wall clock time
-zy
plot sequence numbers from 0 (time sequence graphs only)
-zxy
plot both axes from 0
-y
omit the (yellow) instantaneous throughput points in tput graph
Misc options
-Z
dump raw rtt sample times to file[s]
-p
print all packet contents (can be very long)
-P
print packet contents for selected connections
-t
'tick' off the packet numbers as a progress indication
-v
print version information and exit
-w
print various warning messages
-d
whistle while you work (enable debug, use -d -d for more output)
-e
extract contents of each TCP stream into file
-h
print help messages
-u
print minimal UDP information too
-Ofile
dump matched packets to tcpdump file 'file'
+[v]
reverse the setting of the -[v] flag (for booleans)
--showsacks
show SACK blocks on time sequence graphs (default)
--noshowsacks
DON'T show SACK blocks on time sequence graphs
--showrexmit
mark retransmits on time sequence graphs (default)
--noshowrexmit
DON'T mark retransmits on time sequence graphs
--showoutorder
mark out-of-order on time sequence graphs (default)
--noshowoutorder
DON'T mark out-of-order on time sequence graphs
--showzerowindow
mark zero windows on time sequence graphs (default)
--noshowzerowindow
DON'T mark zero windows on time sequence graphs
--showurg
mark packets with URGENT bit set on the time sequence graphs (default)
--noshowurg
DON'T mark packets with URGENT bit set on the time sequence graphs
--showrttdongles
mark non-RTT-generating ACKs with special symbols
--noshowrttdongles
DON'T mark non-RTT-generating ACKs with special symbols (default)
--showdupack3
mark triple dupacks on time sequence graphs (default)
--noshowdupack3
DON'T mark triple dupacks on time sequence graphs
--showzerolensegs
show zero length packets on time sequence graphs (default)
--noshowzerolensegs
--output_dir=''STR''
directory where all output files are placed (default: '<NULL>')
--output_prefix=''STR''
prefix all output files with this string (default: '<NULL>')
--xplot_title_prefix=''STR''
prefix to place in the titles of all xplot files (default: '<NULL>')
--update_interval=''STR''
time interval for updates in real-time mode (default: '<NULL>')
--max_conn_num=''STR''
maximum number of connections to keep at a time in real-time mode (default: '<NULL>')
--remove_live_conn_interval=''STR''
idle time after which an open connection is removed in real-time mode (default: '<NULL>')
--remove_closed_conn_interval=''STR''
time interval after which a closed connection is removed in real-time mode (default: '<NULL>')
--xplot_args=''STR''
arguments to pass to xplot, if we are calling xplot from here (default: '<NULL>')
--sv=''STR''
separator to use for long output with <STR>-separated-values (default: '<NULL>')
Included Modules
Filter Variables:
Please use 'tcptrace -hfilter' for the complete listing of filter variables.
Filter Syntax:
Environment
Options are first read from the file $HOME/.tcptracerc (if it exists), and then from the environment variable
TCPTRACEOPTS (if it exists), and finally from the command line.
Author
Shawn Ostermann (ostermann@cs.ohiou.edu 2 )
Credits
Thanks to Mark Foster (mafoster@george.arc.nasa.gov 3 ) for writing this manual page. Thanks to Avinash
Lakhiani (alakhian@irg.cs.ohiou.edu 4 ) for updating it.
Files
Dump File Names
Trailing (unrecognized) arguments are taken to be one or more filenames. The files can be compressed, see
compress.h for configuration. If the dump file name is 'stdin', then we read from standard input rather than
from a file.
See Also
xplot
an interactive tool for examining .xpl files output by tcptrace.
jPlot
a Java version of xplot.
34
Linux Certifications 26
Accelerate Your Career with Linux Certification
Courses Online. Apply
NIIT.HyperLessons.com/Linux 30
29