The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Linux distro or network traffic cop? It's both! iBot UNIX and Linux RSS News 0 12-01-2007 11:05 AM
Monitoring network traffic using snoop mansoorulhaq UNIX for Advanced & Expert Users 3 09-22-2007 05:13 AM
How to capture network traffic kayode Security 2 01-28-2005 06:27 AM
Network monitoring vikasdeshmukh UNIX for Dummies Questions & Answers 2 10-24-2001 10:47 PM
Routing Network Traffic With Mandrake Deuce IP Networking 1 10-20-2001 08:11 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-02-2003
yls177
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
monitoring network traffic

there are commands to monitor the memory, paging, io... how about network traffic. i mean commands to see whether the network traffic (LAN) is congested? the closest i got is netstat

thanks
  #2 (permalink)  
Old 04-02-2003
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
  
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
tcpdump and netstat is all that comes to mind
  #3 (permalink)  
Old 04-02-2003
hugo_perez hugo_perez is offline
Registered User
  
 

Join Date: Apr 2002
Location: Argentine - that better than to eat meat and to drink wine (both Argentineans)?.
Posts: 132
What kind of metrics ?

What do you want to see?

Some implementations of netstat allow flags with more information:

netstat -s

netstat -p tcp

netstat -p ip

See the man page of netstat, for the specific flag do you
want.

Do you have a lot of connections dropped, data packets retransmited ?

Note: An unproportional data packets retransmited shall mean
that there are a lot of collisions that could signicate a network
congestion.or not?

Regards. Hugo.
  #4 (permalink)  
Old 04-03-2003
yls177
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
i want to see whether the network is the bottleneck for our application to be slow.

i search google and find some network monitoring. but they are all third party software..

therefore, am i right to say that there are no commands in the unix system th check the network performance?

by the way, big brother is quite popular.. for network monitoring
  #5 (permalink)  
Old 04-03-2003
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
What you can do depends on your network topology and your specific OS. Someday, I hope, people will include a few details with their questions. But I will assume that your network is identical to mine and work from there.

Every unix system that I know of has some way to see statistics kept by the lan driver. With HP-UX, lanadmin can do that (in menu mode). At best, this will only enable measurements on the local ethernet segment. And these days, even that becoming very rare. Your average unix host is connected to an ethernet switch and can only see packets to and from it. Still, this is a start and you should ensure good communications with your system's link partner.

To measure latency across a complex network, traceroute is an option. If your routers and firewalls allow traceroute to work, it can tell you where a delay is...if it is a persistent delay.

To measure performance host to host, I usually just ftp a 1 GB file and time the result. I know it's low tech, but I like that. Most ftp clients perform the timing automatically.

Routers and switches keep on-board statistics. They tend to have a service port that you can access via telnet. They can also report their statistics via snmp but this requires software that you need to purchase. Your network team should be using these or some other technique to monitor their boxes. I am not an expert in this stuff so I cannot really comment further. But if you are your "network team", you need to check the docs for your network boxes to see what is available.
  #6 (permalink)  
Old 04-03-2003
TRUEST TRUEST is offline
Registered User
  
 

Join Date: Jan 2002
Posts: 144
QUESTION FOR PERDERABO

concerning testing the traffic from host to host by FTPing a 1 gig byte. can you tell me what you would do if you notice the traffic is kinda slow?? what would you do to fix it???
  #7 (permalink)  
Old 04-03-2003
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
First, I make sure that the network is the bottleneck. Once I'm sure that it is, I complain to the network people. They take it from there.

Sometimes I have to work with them. And I do need to be sure that the host is talking correctly to its link partner. If a network card is in half-duplex mode, while the port is in full-duplex mode then network performance will suffer severely and at least half of that problem is mine.

But you need to understand that the network is not my responsibility. I am part of a team that administers some things that connect to it.
Sponsored Links
Closed Thread

Bookmarks

Tags
port, snmp, snmp port

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:19 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0