Operating System - HP-UX
1833071 Members
3386 Online
110049 Solutions
New Discussion

Re: port monitor and control

 
Richard Woolley
Frequent Advisor

port monitor and control

Is there any way i can find out if a specific port is in use (netstat option maybe?).

Also is there a way i can make sure it is released and can be used?

cheers,

mark.
2 REPLIES 2
Ravi_8
Honored Contributor

Re: port monitor and control

Hi,

/etc/services file will be having the info about the ports being used.

for your second question u can use lsof
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.64/

never give up
Dietmar Konermann
Honored Contributor

Re: port monitor and control

Usually netstat -a or -an ist the 1st thing to try. If you need to know what process is using it, try lsof.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)