1834805 Members
3173 Online
110070 Solutions
New Discussion

Re: netstat -na command

 
Zabunov  L.
New Member

netstat -na command

Hi, everybody,
using command "netstat -an" I can find out my active network connection, but can anybody tell me how to find the UNIX process that corespond to the network session?
The networking has never done
5 REPLIES 5
John Bolene
Honored Contributor

Re: netstat -na command

inetd is the process that controls all internet protocols and servers.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
MANOJ SRIVASTAVA
Honored Contributor

Re: netstat -na command

Hi Zabunov

Please download lsof from the following site : ftp://vic.cc.purdue.edu/pub/tools/unix/lsof

Here you can get the binaries for both 32 bit and 64 bit , simple installation adn you get nice result to what you are looking for.


Manoj Srivastava

Vincenzo Restuccia
Honored Contributor

Re: netstat -na command

rick jones
Honored Contributor

Re: netstat -na command

the lsof advice is the stuff to follow.

inetd does not really control much of anything. it is there merely as a convenience - it is able to act as the parent for services written to use it and i think had its origins in the desire to keep the number of processes to a minimum. all inetd does is listen for a request on a registered service and spawn the server to handle that request (connection).

while it is true that a port assigned to an app being run as a child of inetd cannot be used for something else, saying that inetd "controls" protocols and such is a bit strong. one cannot for example shut-off all TCP through inetd for all practical purposes
there is no rest for the wicked yet the virtuous have no pillows
Abel Berger
Regular Advisor

Re: netstat -na command

Hi Zabunov !

Here is a lsof for 10.20.

Regards...

Abel Berger