Browse
Hewlett Packard Enterprise Community
Sign In
Help
Community Home
>
Servers and Operating Systems
>
Operating Systems
>
Operating System - HP-UX
>
Which process-id belongs to a tcp or udp port
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Printer Friendly Page
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Which process-id belongs to a tcp or udp port
SOLVED
Go to solution
Hofmann Berthold
Advisor
Mark as New
Bookmark
Subscribe
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
05-24-2006
01:50 AM
05-24-2006
01:50 AM
Which process-id belongs to a tcp or udp port
Hello,
can i find on HP-UX 11.0 which process-id belongs to a specific tcp or ucp port connection, which i see with netstat -an
Berthold
Solved!
Go to Solution.
All forum topics
Previous Topic
Next Topic
2 REPLIES
2
Robert-Jan Goossens
Honored Contributor
Mark as New
Bookmark
Subscribe
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
05-24-2006
01:56 AM
05-24-2006
01:56 AM
Re: Which process-id belongs to a tcp or udp port
Hi Berthold,
You can with lsof.
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.77/
example
# lsof -i tcp:513
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
inetd 982 root 9u inet 0x41e6a068 0t0 TCP *:login (LISTEN)
rlogind 9229 root 0u inet 0x4201e868 0t2665 TCP db001:login->daf68.pg)
Regards,
Robert-Jan
Arunvijai_4
Honored Contributor
Mark as New
Bookmark
Subscribe
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
05-24-2006
01:57 AM
05-24-2006
01:57 AM
Re: Which process-id belongs to a tcp or udp port
Hi,
You can do with "lsof". Download and install from,
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.77/
After installing, do a "man lsof" for more details.
-Arun
"A ship in the harbor is safe, but that is not what ships are built for"