Changeset ba91618 for tools/traceanon


Ignore:
Timestamp:
04/23/10 11:34:08 (12 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/traceanon
Files:
2 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   },
Note: See TracChangeset for help on using the changeset viewer.