Hi everybody, I'm trying to create a script to determine rtp packet lost using 
tcpdump and awk. And It works, but also i'm trying to create a script to 
calculate the jitter but i don't have an idea how to do it. Maybe there is a 
tool or someone has an idea. 
 
#!/bin/sh
#Scrip To calculate rtp packet lost.
sudo /usr/sbin/tcpdump -r sample_test.pcap -T rtp | awk '{seq=$8; time=$1; 
split($2,src,"."); split($4,dst,"."); if (seq != (oldseq+1)) {if (oldseq != "") 
{print "Time:"time " src host:"src[1]"."src[2]"."src[3]"."src[4]" src 
port:"src[5]" dst host:"dst[1] "." dst[2] "." dst[3] "." dst[4],"port:" 
substr(dst[5],1,index(dst[5],":")-1),"Seq:"seq,"OldSeq:"oldseq};
lost=lost+seq-oldseq};oldseq=seq;}' >>test_file  can anybody helpme or does any 
body did a script for the jitter. thanks Best Regards  

Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy! Try it! 
_________________________________________________________________
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Reply via email to