[TriLUG] which process is listening on this socket

Matt Flyer matt at noway2.thruhere.net
Wed Feb 29 15:33:50 EST 2012


Try lsof -Pwn

It will show you the socket and process tree and PID.
Sent via BlackBerry

-----Original Message-----
From: Steve Holton <sph0lt0n at gmail.com>
Sender: trilug-bounces at trilug.org
Date: Wed, 29 Feb 2012 14:19:29 
To: Triangle Linux Users Group General Discussion<trilug at trilug.org>
Reply-To: Triangle Linux Users Group General Discussion <trilug at trilug.org>
Subject: [TriLUG] which process is listening on this socket

Hopefully someone knows a trick on this....

netstat shows certain local sockets as open (LISTEN)

I need to know which process is listening to which socket?

Simple: use lsof, right.   Except this is a SVR4 box without it.

Perhaps one of the old and wise from this list remembers a similar command
for SVR4, or knows a technique to expose the likely culprit?

Thanks in advance.

-- 
Steve Holton
sph0lt0n at gmail.com
-- 
This message was sent to: Matt Flyer <matt at noway2.thruhere.net>
To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
Unsubscribe or edit options on the web	: http://www.trilug.org/mailman/options/trilug/matt%40noway2.thruhere.net
TriLUG FAQ          : http://www.trilug.org/wiki/Frequently_Asked_Questions


More information about the TriLUG mailing list