The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Script to automatically check ports in shell? arsonist Shell Programming and Scripting 4 05-13-2008 05:37 PM
NIC traffic Frank2004 HP-UX 2 04-12-2007 08:03 PM
Check open ports every ... MorchiuS Shell Programming and Scripting 2 08-03-2005 01:17 PM
Processing inbound mail jhansrod Shell Programming and Scripting 3 06-22-2005 04:34 AM
check inbound traffic on ports sunoracle IP Networking 2 03-18-2002 12:34 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-18-2002
Registered User
 

Join Date: Mar 2002
Posts: 3
Stumble this Post!
check inbound traffic on ports

Hello,

I'm new to the forum and would like to know how to check
inbound traffic on various port numbers.

I would also like to know how to open and close various ports
on a unix box running solaris 8.

Thanks in advance.

sunoracle
__________________
Sun_Oracle
Forum Sponsor
  #2 (permalink)  
Old 03-18-2002
Cameron's Avatar
Registered User
 

Join Date: Nov 2001
Location: Brisbane, Australia
Posts: 486
Stumble this Post!
Not exactly what you're after, but you can check stats like so...

date +'%d-%h-%Y %X %Z' >> /some_stats/net/netstats
ndstat | grep -e dev -e Octets -e In: -e Out: >> /some_stats/net/netstats


Will provide stats like the following: (two network cards attached to a SCO box - in this case)
Code:
20-Feb-2002 17:07:06 AEST
/dev/net1    00:a0:c9:e1:64:14     00:a0:c9:e1:64:14
      Unicast  Multicast Broadcast  Error    Octets   Queue Length
In:   48749022         0    148769      0  2663935393            1
Out:    129658         0      2696    827    19689166            0
/dev/net2    00:04:ac:4c:cc:4c     00:04:ac:4c:cc:4c
      Unicast  Multicast Broadcast  Error    Octets   Queue Length
In:   37314805         0    148205      0  4099292043            0
Out: 167753368         0     12662      0   908155738            0
Hope that helps some
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:37 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0