The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
NIM w/ two network interfaces snakernetb AIX 1 03-04-2008 02:21 PM
NIM w/ two network interfaces snakernetb AIX 0 03-04-2008 12:03 PM
Network interfaces problem vilius SCO 0 09-19-2007 08:47 AM
Network interfaces problem vilius IP Networking 0 09-19-2007 08:45 AM
interfaces emsakopa UNIX for Dummies Questions & Answers 1 01-16-2003 03:44 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 12-17-2005
LocalStorm LocalStorm is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 2
HOW-TO Retrieve all network interfaces??!

Yes. But just wait a bit. How to do it via system calls? I'm just a newbie in Unix\Linux\Solaris e.t.c. programming. Can anyone help me? I need an advice probably how to do it or may be what API to read... Please, help...
  #2 (permalink)  
Old 12-20-2005
catwomen catwomen is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 31
Explain bit more

Sorry I'm bit confused what you are asking here?
  #3 (permalink)  
Old 12-21-2005
beev1812 beev1812 is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 14
I am not sure but hopefully this help.
To view your routing:
# netstat -rn

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
192.168.79.128 192.168.79.143 U 1 2536 hme0
224.0.0.0 192.168.79.143 U 1 0 hme0
default 192.168.79.129 UG 1 2216
127.0.0.1 127.0.0.1 UH 265784897 lo0
#

To view "system call'"
#netstat -an <=== this will list all ports and their status
Just an additional note, if you're trying to view a specific port
#netstat -an | grep <port number> <=== this is quicker

Since I am not exactly sure of what you're asking, another beauty for Solaris is
#snoop
I would definetly check the man page ont that command.

#snoop -o <filename> -d <interface>
Example:
#snoop -o new -d hme0
Then once you have your data.
#snoop -i new | grep <what you are looking for>

Hope this helps!
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 01:22 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