LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux 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


Reply
  Search this Thread
Old 12-22-2008, 01:25 AM   #1
bichonfrise74
LQ Newbie
 
Registered: Jul 2008
Posts: 24

Rep: Reputation: 15
Monitor Packet Loss between 2 Servers


Hi,

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.
 
Old 12-22-2008, 08:13 AM   #2
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 877

Rep: Reputation: 184Reputation: 184
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.
 
Old 12-22-2008, 02:32 PM   #3
bichonfrise74
LQ Newbie
 
Registered: Jul 2008
Posts: 24

Original Poster
Rep: Reputation: 15
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?

Thanks.
 
Old 12-22-2008, 07:29 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
packet loss *please help, sites down* I_AM Linux - Server 1 06-11-2008 03:38 PM
Finding out packet loss binarybob0001 Linux - Networking 2 04-17-2006 03:31 AM
packet loss. bruse Linux - Networking 1 09-01-2005 09:24 AM
70% packet loss bingviini Linux - Networking 5 11-18-2004 12:35 PM
What can cause packet loss? Micah Linux - Hardware 8 03-15-2004 01:31 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration