-   Linux - Newbie (
-   -   Monitor Packet Loss between 2 Servers (

bichonfrise74 12-22-2008 01:25 AM

Monitor Packet Loss between 2 Servers

We have two servers, one is in San Francisco and the other is in New York. We are constantly transferring data from the San Francisco server to the New York server. We have a VPN connecting both servers I want to monitor / measure whether the network connection is being dropped and if so, how do I measure it?

Also, I heard of the term packet loss and is this the proper way to measure network connection between two servers?

Let me know if you have any questions. Thanks.

baldy3105 12-22-2008 08:13 AM

The netstat command might help. Use netstat -s and look for the TCP section. Segments Retransmitted will most likely be due to dropped packets, that should give you an idea.

bichonfrise74 12-22-2008 02:32 PM

I ran the netstat -s and I was wondering if there is a timeframe for this? Eg. at 1:00 pm, I ran netstat -s, I get 1000 segments retransmited. At 2:00 pm, I ran netstat -s, I get 2000 segments restransmited.

Would netstat purge its log whenever I ran the netstat so that I can measure the packet loss? Or is the netstat basing its calculation as to when the network was initially up? So, if it was up from Nov. 1, 2008, then if I ran netstat -s, it will show data from Nov. 1, 2008 until now?


chrism01 12-22-2008 07:29 PM

netstat doesn't maintain a database. What you see is what you get (or not, in your case). You can check by running at 3am as well. It shouldn't be 3000

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