LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to find packet size that is been transferred (https://www.linuxquestions.org/questions/linux-networking-3/how-to-find-packet-size-that-is-been-transferred-738270/)

toraghun 07-07-2009 05:30 AM

How to find packet size that is been transferred
 
Hi There,

I would like to know, How to find packet size that is been transferred?

Thanks,
RaghuNi

gratuitous_arp 07-07-2009 06:24 AM

You can use tcpdump or Wireshark to see packet size. Look for the length field in the IP header.

For instance, to capture web requests from your PC:

tcpdump -vni eth0 dst port 80 and src host 192.168.1.1


All times are GMT -5. The time now is 10:10 PM.