LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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
 
Thread Tools
Old 12-22-2008, 01:25 AM   #1
bichonfrise74
LQ Newbie
 
Registered: Jul 2008
Posts: 22
Thanked: 0
Monitor Packet Loss between 2 Servers


[Log in to get rid of this advertisement]
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.
bichonfrise74 is offline     Reply With Quote
Old 12-22-2008, 08:13 AM   #2
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: SuSe 9.2 & 10, Gentoo, knoppix, DSL
Posts: 602
Thanked: 3
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.
baldy3105 is offline     Reply With Quote
Thanked by:
Old 12-22-2008, 02:32 PM   #3
bichonfrise74
LQ Newbie
 
Registered: Jul 2008
Posts: 22
Thanked: 0

Original Poster
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.
bichonfrise74 is offline     Reply With Quote
Old 12-22-2008, 07:29 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 5.3
Posts: 7,285
Thanked: 311
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
chrism01 is online now     Reply With Quote
Thanked by:

Reply

Bookmarks


Thread Tools

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 09:05 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration