achap
Posts: 2
Joined: Sat Sep 07, 2013 11:30 pm

network tools?

Thu Nov 14, 2013 10:13 pm

Hi, I wantto use the Raspberry to check the QoS in a LAN. I´m using the raspicam for singlecast HD videostream and a webcam for broadcast HD videostream. My question is: Is there a program that runs on the raspberry that allow me to check the size and the overhead protocol of the packets that are send from the raspberry?

JustThisGuy
Posts: 114
Joined: Thu Jan 05, 2012 11:22 pm

Re: network tools?

Fri Nov 15, 2013 12:15 am

If you just want to capture the network packets 'tcpdump' is the tool.

If you want some help with capture and analysis and a display gui then use 'wireshark'.
Any conversation about a sufficiently complex subject is indistinguishable from babble.

achap
Posts: 2
Joined: Sat Sep 07, 2013 11:30 pm

Re: network tools?

Sun Nov 17, 2013 10:54 pm

thanks.
I´m already using wireshark. I´ll try tcpdump.
also I read about smokeping. will see which one works for thgre best.

User avatar
DougieLawson
Posts: 32667
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: network tools?

Mon Nov 18, 2013 12:06 am

JustThisGuy wrote:If you just want to capture the network packets 'tcpdump' is the tool.

If you want some help with capture and analysis and a display gui then use 'wireshark'.
One excellent thing about Wireshark is that it can read a Linux tcpdump and do it's GUI magic with it (on Windows). Formatting a 'tcpdump -w foo.pcap -i eth0' using 'tcpdump -r foo.pcap' becomes redundant. You simply move that foo.pcap file to Windows and Wireshark does it's magic with it.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

RoyLongbottom
Posts: 216
Joined: Fri Apr 12, 2013 9:27 am
Location: Essex, UK
Contact: Website

Re: network tools?

Mon Nov 18, 2013 10:35 am

For details of send and receive packets/sec and kB/sec (for average packet sizes), you can install sysstat (sudo apt-get install sysstat), Try it using sar -n DEV 1 10 for 10 samples of 1 second or run such as sar -n DEV 15 32 > sarLAN.txt, for 32 samples of 15 seconds saved to a file.

For CPU loading, try vmstat 1 10 and vmstat 15 32 > vmstatLAN.txt. You might also run the test overclocked at 800 or 900 MHz to better understand overheads.

Return to “Networking and servers”

Who is online

Users browsing this forum: No registered users and 9 guests