Changeset ba91618


Ignore:
Timestamp:
04/23/10 11:34:08 (11 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
83a1f4e
Parents:
db9fa93
Message:
  • Updated manpages for traceanon and tracemerge to reflect new -Z option.
  • Attempted to add some consistency in the naming of long options for -z and -Z across tools
Location:
tools
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • tools/traceanon/traceanon.1

    r1481ba7 rba91618  
    88[ \-p prefix | \-\^\-prefix=prefix ]
    99[ \-c key | \-\^\-cryptopan=key ]
     10[ \-z level | \-\^\-compress-level=level ]
     11[ \-Z method | \-\^\-compress-type=method ]
    1012sourceuri
    1113desturi
     
    5153encrypt the IP addresses using the prefix-preserving cryptopan method using
    5254the key "key".  The key can be up to 32 bytes long, and will be padded with
    53 NUL charactors.
     55NULL characters.
    5456
     57.TP
     58.PD 0
     59.BI \-z
     60.TP
     61.PD
     62.BI \-\^\-compress-level=level
     63compress the output trace using a compression level of "level". Compression
     64level can range from 0 (no compression) through to 9. Higher compression levels
     65require more CPU to compress data. Defaults to no compression.
     66
     67.TP
     68.PD 0
     69.BI \-Z
     70.TP
     71.PD
     72.BI \-\^\-compress-type=method
     73compress the output trace using the compression algorithm "method". Possible
     74algorithms are "gzip", "bzip2", "lzo" and "none". Default is "none".
    5575
    5676.SH EXAMPLES
     
    5979        \-\^\-encrypt-source \\
    6080        \-\^\-encrypt-dest \\
     81        \-\^\-compress-level=1 \\
     82        \-\^\-compress-type=gzip \\
    6183        erf:/traces/unenc.gz \\
    6284        erf:/traces/enc.gz \\
  • tools/traceanon/traceanon.c

    rdb9fa93 rba91618  
    2222        "-p --prefix=C.I.D.R/bits Substitute the prefix of the address\n"
    2323        "-H --libtrace-help     Print libtrace runtime documentation\n"
    24         "-z --compression-level Compress the output trace at the specified level\n"
    25         "-Z --compression-type  Compress the output trace using the specified"
     24        "-z --compress-level    Compress the output trace at the specified level\n"
     25        "-Z --compress-type     Compress the output trace using the specified"
    2626        "                       compression algorithm\n"
    2727        ,argv0);
     
    128128                        { "cryptopan",          1, 0, 'c' },
    129129                        { "prefix",             1, 0, 'p' },
    130                         { "compression-level",  1, 0, 'z' },
    131                         { "compression-type",   1, 0, 'Z' },
     130                        { "compress-level",     1, 0, 'z' },
     131                        { "compress-type",      1, 0, 'Z' },
    132132                        { "libtrace-help",      0, 0, 'H' },
    133133                        { NULL,                 0, 0, 0   },
  • tools/tracemerge/tracemerge.1

    r1481ba7 rba91618  
    55.B tracemerge
    66[ \-i [ interfaces_per_input ] | \-\^\-set-interface [ interfaces_per_input ] ]
    7 [ \-u | \-\^\-unique-packets ]
     7[ \-u | \-\^\-unique-packets ] [ \-z | \-\^\-compress-level <level> ]
     8[ \-Z | \-\^\-compress-type <method> ]
    89outputuri inputuri...
    910.SH DESCRPTION
     
    3738.TP
    3839.PD 0
    39 .BI \-z [ compression_level ]
     40.BI \-z level
    4041.TP
    4142.PD
    42 .BI \-\^\-compression [ compression_level ]
    43 Sets the amount of compression performed on the output file.  Currently libtrace will always write
    44 out compressed files, even when -z0 is given.
     43.BI \-\^\-compress-level level
     44Sets the amount of compression performed on the output file. This value can
     45range from 0 (no compression) to 9 (maximum compression). Higher compression
     46levels 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
     54Describes the compression algorithm to be used when writing the output trace.
     55Possible methods are "gzip", "bzip2", "lzo" and "none". Defaults to "none".
     56
    4557
    4658.SH LINKS
  • tools/tracemerge/tracemerge.c

    rdb9fa93 rba91618  
    1616        "                       read from the original traces, if appropriate\n"
    1717        "-u --unique-packets    Discard duplicate packets\n"
    18         "-z level --compression level\n"
     18        "-z level --compress-level level\n"
    1919        "                       Compression level\n"
    20         "-Z method --compression-type method\n"
     20        "-Z method --compress-type method\n"
    2121        "                       Compression method\n"
    2222        "-H --libtrace-help     Print libtrace runtime documentation\n"
     
    5454                        { "unique-packets",     0, 0, 'u' },
    5555                        { "libtrace-help",      0, 0, 'H' },
    56                         { "compression",        1, 0, 'z' },
    57                         { "compression-type",   1, 0, 'Z' },
     56                        { "compress-level",     1, 0, 'z' },
     57                        { "compress-type",      1, 0, 'Z' },
    5858                        { NULL,                 0, 0, 0   },
    5959                };
  • tools/tracesplit/tracesplit.1

    rbfe8535 rba91618  
    1212[ \fB-m \fRmaxfiles | \fB--maxfiles=\fRmaxfiles]
    1313[ \fB-S \fRsnaplen | \fB--snaplen=\fRsnaplen]
    14 [ \fB-z \fRlevel | \fB--compress=\fRlevel]
     14[ \fB-z \fRlevel | \fB--compress-level=\fRlevel]
    1515[ \fB-Z \fRmethod | \fB--compress-type=\fRmethod]
    1616inputuri outputuri ...
  • tools/tracesplit/tracesplit.c

    r6374f4e rba91618  
    4141        "-S --snaplen           Snap packets at the specified length\n"
    4242        "-v --verbose           Output statistics\n"
    43         "-z --compress          Set compression level\n"
     43        "-z --compress-level    Set compression level\n"
    4444        "-Z --compress-type     Set compression type\n"
    4545        ,argv0);
     
    9999                        { "snaplen",       1, 0, 'S' },
    100100                        { "verbose",       0, 0, 'v' },
    101                         { "compress",      1, 0, 'z' },
     101                        { "compress-level", 1, 0, 'z' },
    102102                        { "compress-type", 1, 0, 'Z' },
    103103                        { NULL,            0, 0, 0   },
Note: See TracChangeset for help on using the changeset viewer.