source: tools/tracestats/tracesummary @ 051618c

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

Some of tracesummary's bpf filters were incorrect - however the new correct filters don't work so well with the output format so that will need fixing at some point
Improved error reporting for bpf filters
tracestats will now ignore a filter that fails and print a single warning. It also no longer increments the counter for filters that fail.

  • Property mode set to 100755
File size: 583 bytes
RevLine 
[130a0e4]1#!/bin/sh
2
3if [ $# -lt 1 ]; then
4        echo usage: $0 inputuri...
5fi
6
[d242ea8]7exec tracestats
8                # XXX: Fix the formatting for these filters
9                --filter 'not ether proto \ip and not ether proto 0x86dd' \
10                --filter 'ether proto 0x86dd' \
11                --filter 'ether proto \ip' \
[130a0e4]12                --filter tcp \
13                --filter udp \
14                --filter icmp \
15                --filter 'not (tcp or udp or icmp)' \
16                --filter 'tcp and port http or https' \
17                --filter 'tcp and port smtp' \
18                --filter 'tcp and port pop3 or pop3s' \
19                --filter 'tcp and port imap or imaps' \
20                --filter 'port domain' \
21                --filter 'icmp[icmptype]=icmp-echoreply' \
22                $@
Note: See TracBrowser for help on using the repository browser.