Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
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?