logo       

SUMMARY: Ports on Solaris5.7 (E4500): msg#00058

os.solaris.managers.summaries

Subject: SUMMARY: Ports on Solaris5.7 (E4500)

Thanks a lot all,

Especially Balamurugan.T

Jonathan Sims

& J. Oquendo



Your help was timely as ever.



The winning answer is the freeware application lsof.

Here is the output I got and needed.



---------------------------

rbfxsnc1(/usr/local/bin)# ./lsof | grep 6767

bgsagent 867 root 3w VREG 32,83 4093 224128
/app/patrol/PATROL3.4/Solaris-2-7-sparc-64/best1/bgs/monitor/log/bgsag
ent_6767.log

bgsagent 867 root 5u inet 0x3000474dc58 0t0 TCP
*:6767 (LISTEN)

bgsagent 867 root 6u inet 0x300040182b0 0t0 TCP
localhost:6767->localhost:45870 (ESTABLISHED)

bgscollec 875 root 3w VREG 32,83 4093 224128
/app/patrol/PATROL3.4/Solaris-2-7-sparc-64/best1/bgs/monitor/log/bgsag
ent_6767.log

telnet 2560 root 3u inet 0x30005161ee0 0t0 TCP
localhost:45870->localhost:6767 (ESTABLISHED)

rbfxsnc1(/usr/local/bin)#



--------------------------



I would also like to add that the people on holiday were helpful as
ever in filling up my inbox.



Regards,

Claude Oliver

IT Specialist

Infrastructure Support Services

Telkom SA

(Tel) 012 6803102

(Fax) 012 6803299

(Cell) 083 2432956

-----Original Message-----
From: Jonathan Sims [mailto:jsims@xxxxxxxxxxxx]
Sent: 09 January 2004 09:15
To: Claude Oliver (CJ)
Subject: RE: Ports on Solaris5.7 (E4500)





lsof is what you want (you can find it a sunfreeware)> Lists open
files, ports, etc per process



JLS



-----Original Message-----
From: Claude Oliver (CJ) [mailto:olivercj@xxxxxxxxxxxx]
Sent: Thu 1/8/2004 11:03 PM
To: sunmanagers@xxxxxxxxxxxxxxx
Cc:
Subject: Ports on Solaris5.7 (E4500)

Hi Managers,



My problem is that I must install an application on my Sun
Machine but
it need to communicate thru port 6767 to a master server, but
the port
is already open by another application. I would like to know
is there
is a command to find the process and/or application using that
port on
my machine.



Extra info

-------------

rbfxsnc1(/)# uname -a

SunOS rbfxsnc1 5.7 Generic_106541-27 sun4u sparc
SUNW,Ultra-Enterprise



rbfxsnc1(/)# netstat -a | grep 6767

*.6767 *.* 0 0 0
0
LISTEN



Thank you in advance.



Regards,

Claude Oliver

IT Specialist

Infrastructure Support Services

Telkom SA

(Tel) 012 6803102

(Fax) 012 6803299

(Cell) 083 2432956
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise