source: tools/tracestats/tracestats.1 @ 9a0e118

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivelibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 9a0e118 was 9a0e118, checked in by Shane Alcock <salcock@…>, 5 years ago

Update tracestats manpage to include -t option

Set default number of threads to 1 for tracestats, as it probably
isn't going to be doing enough work to warrant the extra thread overhead.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1.TH TRACESTATS "1" "October 2005" "tracestats (libtrace)" "User Commands"
2.SH NAME
3tracestats \- perform simple analysis on a trace
4.SH SYNOPSIS
5.B tracestats
6[ -f | --filter bpf ] [ -t | --threads count ] ... inputuri...
7.SH DESCRPTION
8tracestats reads one or more traces and outputs summaries for each trace of
9how many packets/bytes match each bpf filter, as well as totals.  If instead
10of doing this for the entire trace, but to do it for portions then use
11tracertstats(1) instead.
12.TP
13.PD 0
14.BI \-f " bpf-filter"
15.TP
16.PD
17.BI \-\^\-filter " bpf-filter"
18Add another bpf filter
19
20.TP
21.PD 0
22.BI \-t " count"
23.TP
24.PD
25.BI \-\^\-threads " count"
26Use 'count' threads for processing packets. Defaults to a single thread.
27
28.SH EXAMPLES
29.nf
30tracestats \-\^\-filter 'host sundown' \\
31        \-\^\-filter 'port http' \\
32        \-\^\-filter 'port ftp or ftp-data' \\
33        \-\^\-filter 'port smtp' \\
34        \-\^\-filter 'tcp[tcpflags] & tcp-syn!=0' \\
35        \-\^\-filter 'not ip' \\
36        \-\^\-filter 'ether[0] & 1 == 1' \\
37        \-\^\-filter 'icmp[icmptype] == icmp-unreach' \\
38        erf:/traces/trace1.gz \\
39        erf:/traces/trace2.gz \\
40.fi
41
42.SH LINKS
43More details about tracestats (and libtrace) can be found at
44http://www.wand.net.nz/trac/libtrace/wiki/UserDocumentation
45
46.SH SEE ALSO
47libtrace(3), tracemerge(1), tracefilter(1), traceconvert(1), tracesplit(1),
48tracesplit_dir(1), tracereport(1), tracertstats(1), tracepktdump(1),
49traceanon(1), tracesummary(1), tracereplay(1), tracediff(1),
50traceends(1), tracetopends(1)
51
52.SH AUTHORS
53Perry Lorier <perry@cs.waikato.ac.nz>
Note: See TracBrowser for help on using the repository browser.