source: tools/tracestats/tracestats.1 @ 1481ba7

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 1481ba7 was 1481ba7, checked in by Shane Alcock <salcock@…>, 11 years ago

Updated manpages for all existing tools

  • Ensure the SEE ALSO sections refers to *all* other tools (including tracediff which will be added shortly)
  • Corrected some errors due to careless copying of earlier manpages
  • Fixed some typos and grammatical errors as well
  • Property mode set to 100644
File size: 1.3 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 ]... 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.SH EXAMPLES
21.nf
22tracestats \-\^\-filter 'host sundown' \\
23        \-\^\-filter 'port http' \\
24        \-\^\-filter 'port ftp or ftp-data' \\
25        \-\^\-filter 'port smtp' \\
26        \-\^\-filter 'tcp[tcpflags] & tcp-syn!=0' \\
27        \-\^\-filter 'not ip' \\
28        \-\^\-filter 'ether[0] & 1 == 1' \\
29        \-\^\-filter 'icmp[icmptype] == icmp-unreach' \\
30        erf:/traces/trace1.gz \\
31        erf:/traces/trace2.gz \\
32.fi
33
34.SH LINKS
35More details about tracestats (and libtrace) can be found at
36http://www.wand.net.nz/trac/libtrace/wiki/UserDocumentation
37
38.SH SEE ALSO
39libtrace(3), tracemerge(1), tracefilter(1), traceconvert(1), tracesplit(1),
40tracesplit_dir(1), tracereport(1), tracertstats(1), tracepktdump(1),
41traceanon(1), tracesummary(1), tracereplay(1), tracediff(1)
42
43.SH AUTHORS
44Perry Lorier <perry@cs.waikato.ac.nz>
Note: See TracBrowser for help on using the repository browser.