diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-06-25 11:45:29 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-06-25 11:45:29 -0700 |
commit | e76768c97a70934b8f3a41fe2df705c61a924a47 (patch) | |
tree | 25826f96cf6dcf04f449263102e62f6b03eb42d7 | |
parent | fc7b8aeb5e40fc50c68624e12069f5ba7bd9ae2c (diff) | |
download | tcpdump-e76768c97a70934b8f3a41fe2df705c61a924a47.tar.gz |
Give more details for --time-stamp-precision.
-rw-r--r-- | tcpdump.1.in | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/tcpdump.1.in b/tcpdump.1.in index 3cceb468..efc08653 100644 --- a/tcpdump.1.in +++ b/tcpdump.1.in @@ -123,8 +123,12 @@ tcpdump \- dump traffic on a network ] .ti +8 [ +.BI \-\-time\-stamp\-precision= tstamp_precision +] +[ .B \-\-version ] +.ti +8 [ .I expression ] @@ -433,13 +437,23 @@ time stamp type cannot be set for the interface, no time stamp types are listed. .TP .BI \-\-time\-stamp\-precision= tstamp_precision -.PD -Set the time stamp precision for the capture to -\fItstamp_precision\fP. Currently supported are microseconds and -nanoseconds. Note that availability of high precision time stamps (nanoseconds) -and their actual accuracy is platform and HW dependent. Also note that when -writing captures to the savefile, distinct magic number is used to distinguish -savefiles which contains time stamps in nanoseconds. +When capturing, set the time stamp precision for the capture to +\fItstamp_precision\fP. Note that availability of high precision time +stamps (nanoseconds) and their actual accuracy is platform and hardware +dependent. Also note that when writing captures made with nanosecond +accuracy to a savefile, the time stamps are written with nanosecond +resolution, and the file is written with a different magic number, to +indicate that the time stamps are in seconds and nanoseconds; not all +programs that read pcap savefiles will be able to read those captures. +.LP +When reading a savefile, convert time stamps to the precision specified +by \fItimestamp_precision\fP, and display them with that resolution. If +the precision specified is less than the precision of time stamps in the +file, the conversion will lose precision. +.LP +The supported values for \fItimestamp_precision\fP are \fBmicro\fP for +microsecond resolution and \fBnano\fP for nanosecond resolution. The +default is microsecond resolution. .TP .B \-K .PD 0 |