cancel
Showing results for 
Search instead for 
Did you mean: 

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
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?