![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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... |
|
||||
|
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! ![]() |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|