05-02-2008
This User Gave Thanks to matrixmadhan For This Post:
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Anyone know where I can find good documentation for IPF on the Internet?
Thanks,
Chuck (1 Reply)
Discussion started by: 98_1LE
1 Replies
2. UNIX for Dummies Questions & Answers
how to filter one particular row from one text file and copy it in another? (1 Reply)
Discussion started by: rajanandhini
1 Replies
3. UNIX for Dummies Questions & Answers
Hi
I am a newbie to Unix . I am just trying to understand the difference between various filters for ps. Can someoen pelase explain me whta is the difference between using /usr/bin/ps -ef | grep <PID> or <Process name> and /usr/bin/ps -auxwww| grep <PID> or <Process Name>. (1 Reply)
Discussion started by: sillybirdie123
1 Replies
4. UNIX for Dummies Questions & Answers
Hey all, I need a command line that creates a new file named whatever, say stuff.txt in the current working directory which contains the number of directories in the current working directory, followed by the number of empty files in the current working directory, followed by the name of the... (2 Replies)
Discussion started by: corpsegrinder
2 Replies
5. UNIX for Advanced & Expert Users
Hello..
i want a ppt on unix filters..
can anybody gv me d link 4 that?? (1 Reply)
Discussion started by: shweta_babbar
1 Replies
6. Shell Programming and Scripting
Hi,
I have input data.
9214919702; B5; 1;20070216;
9231590437; BY; 1;20070215;9;20091022;12;20091022;
9211765888; AZ; 1;20080802;1;20080802;14;20091027;
9231592590; BY; 1;20070215;9;20091026;9;20091026;
9252412219; MM; 1;20070217;
9214917135; MM; 1;20070215;
9214917056; B5; 1;20070215;... (8 Replies)
Discussion started by: suresh3566
8 Replies
7. Programming
I have a value X, a value DX and an odd integer N (say N=9) and want to create an array such that
let X = 10, DX = 2 and N = 9
DIST(1) = X - 4 * DX
DIST(2) = X - 3 * DX
DIST(3) = X - 2 * DX
DIST(4) = X - DX
DIST(5) = X
DIST(6) = X + DX
DIST(7) = X + 2 * DX
DIST(8) = X + 3 * DX
DIST(9)... (2 Replies)
Discussion started by: kristinu
2 Replies
8. Shell Programming and Scripting
Hi All,
I am trying to select the rows in a fixed width file based on values in the columns.
I want to select only the rows if column position 3-4 has the value AB
I am using cut command to get the column values. Is it possible to check if cut -c3-4 = AB is true then select only that... (2 Replies)
Discussion started by: ashok.k
2 Replies
LEARN ABOUT DEBIAN
tracestats
TRACESTATS(1) User Commands TRACESTATS(1)
NAME
tracestats - perform simple analysis on a trace
SYNOPSIS
tracestats [ -f | --filter bpf ]... inputuri...
DESCRPTION
tracestats reads one or more traces and outputs summaries for each trace of how many packets/bytes match each bpf filter, as well as
totals. If instead of doing this for the entire trace, but to do it for portions then use tracertstats(1) instead.
-f bpf-filter
--filter bpf-filter
Add another bpf filter
EXAMPLES
tracestats --filter 'host sundown'
--filter 'port http'
--filter 'port ftp or ftp-data'
--filter 'port smtp'
--filter 'tcp[tcpflags] & tcp-syn!=0'
--filter 'not ip'
--filter 'ether[0] & 1 == 1'
--filter 'icmp[icmptype] == icmp-unreach'
erf:/traces/trace1.gz
erf:/traces/trace2.gz
LINKS
More details about tracestats (and libtrace) can be found at http://www.wand.net.nz/trac/libtrace/wiki/UserDocumentation
SEE ALSO
libtrace(3), tracemerge(1), tracefilter(1), traceconvert(1), tracesplit(1), tracesplit_dir(1), tracereport(1), tracertstats(1), tracepkt-
dump(1), traceanon(1), tracesummary(1), tracereplay(1), tracediff(1), traceends(1), tracetopends(1)
AUTHORS
Perry Lorier <perry@cs.waikato.ac.nz>
tracestats (libtrace) October 2005 TRACESTATS(1)