System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Finding the process and its port number

SOLVED
Go to solution
panks
Regular Advisor

Finding the process and its port number

Hi,

I have restarted my production box having main application as oracle RAC. After reboot DBA reported that they couldn't start EM (Enterprise manager) to manage oracle service. Now they are suspecting that the port which EM use might be used by some other service in the system and thats the reason they couldn't start the EM. How can I find which process is using what port number. Also any additional suggestion for this scenario will be appreciated.
Thanks
5 REPLIES
Torsten.
Acclaimed Contributor

Re: Finding the process and its port number

Use lsof:

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.81/

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
panks
Regular Advisor

Re: Finding the process and its port number

It is giving page can't found for the lsof link provided by you.
James R. Ferguson
Acclaimed Contributor
Solution

Re: Finding the process and its port number

Hi:

Use 'lsof'. Every server should have this installed:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.81/

Regards!

...JRF...
Torsten.
Acclaimed Contributor

Re: Finding the process and its port number

another server

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.81/

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor

Re: Finding the process and its port number

>It is giving page can't found for the lsof link provided by you.

I've also had problems with hpux.cs.utah.edu. Not sure if it is a time of day or not?
The upper levels are there:
http://hpux.cs.utah.edu/hppd/hpux

And you can use that to find the main site.