[7e16db7] | 1 | .TH TRACEMERGE "1" "March 2006" "tracemerge (libtrace)" "User Commands" |
---|
[18544c8] | 2 | .SH NAME |
---|
| 3 | tracemerge \- Merge one (or more) traces together |
---|
| 4 | .SH SYNOPSIS |
---|
| 5 | .B tracemerge |
---|
[34e22d1] | 6 | [ \-i [ interfaces_per_input ] | \-\^\-set-interface [ interfaces_per_input ] ] |
---|
[ba91618] | 7 | [ \-u | \-\^\-unique-packets ] [ \-z | \-\^\-compress-level <level> ] |
---|
| 8 | [ \-Z | \-\^\-compress-type <method> ] |
---|
[18544c8] | 9 | outputuri inputuri... |
---|
| 10 | .SH DESCRPTION |
---|
| 11 | tracemerge merges two or more traces together, keeping packets in order. |
---|
| 12 | |
---|
| 13 | .TP |
---|
[7e16db7] | 14 | .PD 0 |
---|
[34e22d1] | 15 | .BI \-i [ interfaces_per_input ] |
---|
[7e16db7] | 16 | .TP |
---|
| 17 | .PD |
---|
[34e22d1] | 18 | .BI \-\^\-set-interface [interfaces_per_input ] |
---|
| 19 | set the interface ("direction") for each input to be unique. The optional |
---|
| 20 | inputs_per_interface parameter is how many inputs to reserve for each trace, |
---|
| 21 | and defaults to 1. Thus if you have two traces with two interfaces (in/out), |
---|
| 22 | and interfaces_per_input is set to 2, then tracemerge will have the first |
---|
| 23 | interface of the first input will be 0, the second interface of the first input |
---|
| 24 | will be 1, the first interface of the second input will be 2, and the second |
---|
| 25 | interface of the second input will be 3. |
---|
| 26 | |
---|
| 27 | Beware that erf only supports 4 interfaces, and pcap only supports 2. |
---|
| 28 | Limitations apply based on the input trace format (not the output trace format) |
---|
[18544c8] | 29 | |
---|
[7e16db7] | 30 | .TP |
---|
| 31 | .PD 0 |
---|
| 32 | .BI \-u |
---|
| 33 | .TP |
---|
| 34 | .PD |
---|
| 35 | .BI \-\^\-unique-packets |
---|
| 36 | Ignore duplicate packets with identical timestamps. |
---|
| 37 | |
---|
[37f2a9b] | 38 | .TP |
---|
| 39 | .PD 0 |
---|
[ba91618] | 40 | .BI \-z level |
---|
[37f2a9b] | 41 | .TP |
---|
| 42 | .PD |
---|
[ba91618] | 43 | .BI \-\^\-compress-level level |
---|
| 44 | Sets the amount of compression performed on the output file. This value can |
---|
| 45 | range from 0 (no compression) to 9 (maximum compression). Higher compression |
---|
| 46 | levels require more CPU to compress data. Defaults to 0. |
---|
| 47 | |
---|
| 48 | .TP |
---|
| 49 | .PD 0 |
---|
| 50 | .BI \-Z method |
---|
| 51 | .TP |
---|
| 52 | .PD |
---|
| 53 | .BI \-\^\-compress-type method |
---|
| 54 | Describes the compression algorithm to be used when writing the output trace. |
---|
[17f954f] | 55 | Possible methods are "gzip", "bzip2", "lzo", "xz" and "none". Defaults to |
---|
| 56 | "none". |
---|
[ba91618] | 57 | |
---|
[37f2a9b] | 58 | |
---|
[634089d] | 59 | .SH LINKS |
---|
| 60 | More details about tracemerge (and libtrace) can be found at |
---|
| 61 | http://www.wand.net.nz/trac/libtrace/wiki/UserDocumentation |
---|
| 62 | |
---|
[18544c8] | 63 | .SH SEE ALSO |
---|
[67825b2] | 64 | libtrace(3), tracesplit(1), tracesplit_dir(1), tracefilter(1), |
---|
[1481ba7] | 65 | traceconvert(1), tracereport(1), tracertstats(1), tracestats(1), |
---|
| 66 | tracepktdump(1), traceanon(1), tracesummary(1), tracereplay(1), |
---|
[d6dc0f6] | 67 | tracediff(1), traceends(1), tracetopends(1) |
---|
[67825b2] | 68 | |
---|
[18544c8] | 69 | .SH AUTHORS |
---|
| 70 | Perry Lorier <perry@cs.waikato.ac.nz> |
---|