- Timestamp:
- 06/23/06 17:38:40 (15 years ago)
- 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:
- c631f0f
- Parents:
- 6a18893
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
INSTALL
rd18312c r870cad4 1 Requirements: 2 * >=automake-1.9 3 * >=libpcap-0.8 4 1 5 Installing libtrace: 2 6 3 4 ----------------------------------5 To make and install libtrace:6 7 libtrace requires the development libraries for libpcap and libz to compile8 eg, on Debian Woody these are called libpcap-dev and zlib1g-dev.9 10 11 tar zxvf libtrace-x.y.z.tar.gz12 cd libtrace-x.y.z13 7 ./configure 14 8 make 15 (as root)16 make install17 18 9 19 10 … … 22 13 23 14 ---------------------------------- 24 To build the docs:25 26 cd libtrace-x.y.z27 doxygen28 29 30 This will build the docs into libtrace-x.y.z/docs/{html,man}31 There is currently no install candidate for these - sorry about that.32 33 34 ----------------------------------35 15 Using libtrace: 36 16 37 17 There are a number of example programs which should cover the basics of what you need within libtrace-x.y.z/examples/. 38 18 39 40 41 19 ---------------------------------- 42 20 Large trace files: 43 21 44 Note that if you wish to use libtrace to read in large ( > 2/4 GB) files, and 45 you wish to use gz-compressed traces or pcap traces, you will need to link 46 against a version of libz or libpcap that supports large files. 47 48 The versions of libz and libpcap that ship with Debian Woody don't support 22 The versions of libpcap that ship with Debian Woody don't support 49 23 large file offsets. 50 24 … … 55 29 * Use stdin as the target of the input uri, and use cat or zcat to pipe the 56 30 file into stdin, eg: 57 zcat largetrace. erf.gz | program -i erf:-31 zcat largetrace.pcap.gz | program -i pcap:- 58 32 * Use process substitution in place of a filename, eg: 59 program -i erf:<(zcat largetrace.erf.gz)33 program -i pcap:<(zcat largetrace.pcap.gz) 60 34 61 35 62 ----------------------------------63 Currently support input URIs:64 65 ERF (dag card tracefile):66 erf:/path/to/file67 erf:/path/to/file.gz68 erf:/path/to/socket69 erf:-70 71 Legacy DAG formats:72 legacyatm:/path/to/file73 legacyatm:/path/to/file.gz74 legacyatm:-75 legacypos:/path/to/file76 legacypos:/path/to/file.gz77 legacypos:-78 legacyeth:/path/to/file79 legacyeth:/path/to/file.gz80 legacyeth:-81 82 PCAP (from libpcap)83 pcap:/path/to/file84 pcap:-85 86 PCAP Interface (from libpcap)87 pcapint:eth088 pcapint:ppp089 90 WAG tracefile91 wag:/path/to/file92 wag:/path/to/file.gz93 wag:/path/to/socket94 wag:-95 96 WAG card97 wagint:/dev/wag098 99 Real Time Client interface at Waikato University100 rtclient:hostname101 rtclient:hostname:port102 103 DAG (native dag)104 dag:/dev/dag0105 106
Note: See TracChangeset
for help on using the changeset viewer.