LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] [Possibly OT] Network Traffic Analysis and InterfaceControl

[ILUG] [Possibly OT] Network Traffic Analysis and InterfaceControl

Paul Jakma paul at clubi.ie
Thu Feb 23 19:26:04 GMT 2006


On Thu, 23 Feb 2006, Hamilton, David (TSG C&I) wrote:

> Thanks Padraig,
>
> I changed it a little bit, but you got me going in the right direction.

> Just in case anyone is interested, the 5 minute error count will be 
> calculated with this:
>
> tethereal -t ad -T text -r capture.dat -z 
> "io,stat,60,COUNT(tcp.analysis.retransmission)tcp.analysis.retransmission,COUNT(tcp.analysis.window_full)tcp.analysis.window_full,COUNT(tcp.analysis.zero_window)tcp.analysis.zero_window,COUNT(tcp.analysis.duplicate_ack)tcp.analysis.duplicate_ack" 
> -q |tail -6 |head -5 |awk '{ print $2 "," $3 "," $4 "," $5 }' | (tr 
> ',\n' + && echo 0) |bc

Ouch, what's the tail -6 | head -5 for? That and the tr and bc is 
quite redundant:

awk ' <pattern to be determined - depends on what this tail/head 
business is about> { print $2 + $3 + $4 + $5 }'

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Fortune:
Teutonic:
 	Not enough gin.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell