1850316 Members
3020 Online
104054 Solutions
New Discussion

Re: Monitoring ports ?

 
SOLVED
Go to solution
H_16
Trusted Contributor

Monitoring ports ?


How can I check process is using a certain port...I havent got lsof installed, is there any other way to check this.

Also, can do I get lsof installed ?!?!
3 REPLIES 3
Pete Randall
Outstanding Contributor
Solution

Re: Monitoring ports ?

RAC_1
Honored Contributor

Re: Monitoring ports ?

swlist|grep -i lsof

Get it from

http://hpux.connect.org.uk. Once installed.
man lsof

lsof -p "Process_pid"
Will list open resources by "process_pid"
lsof -i tcp:80
Will list process using tcp port 80

Anil
There is no substitute to HARDWORK
H_16
Trusted Contributor

Re: Monitoring ports ?


Thanks for the quick responses !!