Operating System - Tru64 Unix
1752703 Members
5685 Online
108789 Solutions
New Discussion юеВ

identify pid listen port

 
C├бssio Dias
Occasional Contributor

identify pid listen port


I want to determine all pids using port 2006.
this command work in linux
fuser -n tcp 2006

I want to determine ports used by the pids (threads) from pid above.

this command work in linux too.
lsof -p | grep TCP

How do i get this information in tru64?

2 REPLIES 2
Ivan Ferreira
Honored Contributor

Re: identify pid listen port

lsof is available for tru64. It's included in the open source software collection.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: identify pid listen port

See also this:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=945634
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?