Linux - NewbieThis forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?
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.
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?
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.