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 Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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 09:37 PM
NIC traffic Frank2004 HP-UX 2 04-13-2007 12:03 AM
Check open ports every ... MorchiuS Shell Programming and Scripting 2 08-03-2005 05:17 PM
Processing inbound mail jhansrod Shell Programming and Scripting 3 06-22-2005 08:34 AM
check inbound traffic on ports sunoracle IP Networking 2 03-18-2002 04:34 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-18-2002
sunoracle sunoracle is offline
Registered User
  
 

Join Date: Mar 2002
Posts: 3
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
  #2 (permalink)  
Old 03-18-2002
Cameron's Avatar
Cameron Cameron is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2001
Location: Brisbane, Australia
Posts: 500
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
Closed Thread

Bookmarks

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 08:28 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