HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Process listening on which port
Operating System - HP-UX
1832512
Members
4652
Online
110043
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2007 07:10 AM
09-17-2007 07:10 AM
I have a process that runs and connects to a port. I want to know which process is connecting to what port. netstat -an shows the details about ports/ip that's being currently used but it doesn't show the process id. How do I get to the process that's listening on that ip/port
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2007 07:17 AM
09-17-2007 07:17 AM
Solution
Hi
Do you have lsof ( list of open files )installed on your serer ? . If you have lsof installed , you can do
# lsof | grep
You can get lsof from
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.77/
Rgds/ James
Do you have lsof ( list of open files )installed on your serer ? . If you have lsof installed , you can do
# lsof | grep
You can get lsof from
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.77/
Rgds/ James
forum is for techies .....heaven is for those who are born again !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2007 07:17 AM
09-17-2007 07:17 AM
Re: Process listening on which port
Use lsof(1) to get that information. You can obtain lsof from:
http://hpux.cs.utah.edu/
...and to get info about port num 2000 do
# lsof -i:2000
http://hpux.cs.utah.edu/
...and to get info about port num 2000 do
# lsof -i:2000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2007 07:31 AM
09-17-2007 07:31 AM
Re: Process listening on which port
Shalom,
Having a little trouble with ITRC today.
http://hpux.ee.ualberta.ca/hppd/hpux/Sysadmin/lsof-4.78/
This program has given me a lot of problem personally. You may need to compile it, but try the depot first.
SEP
Having a little trouble with ITRC today.
http://hpux.ee.ualberta.ca/hppd/hpux/Sysadmin/lsof-4.78/
This program has given me a lot of problem personally. You may need to compile it, but try the depot first.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP