- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- display processes listening on the ports
Operating System - HP-UX
1822227
Members
3743
Online
109642
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
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
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
тАО03-25-2009 10:56 AM
тАО03-25-2009 10:56 AM
Hello everyone,
Does anyone know a trick to find out which processes are listening on certain ports?
Regular netstat lists many listening ports as
tcp 0 0 localhost. *.* LISTEN
or
tcp 0 0 *. *.* LISTEN
But the processes info is not available.
On Linux, I could use 'netstat -p' (or command lsof). On Windows, I could use 'netstat -a -b'. Is there a way to display the process info on HP-UX? Or is there another command to retrieve similar information? Thank you in advance!
Best regards,
Victor
Does anyone know a trick to find out which processes are listening on certain ports?
Regular netstat lists many listening ports as
tcp 0 0 localhost.
or
tcp 0 0 *.
But the processes info is not available.
On Linux, I could use 'netstat -p' (or command lsof). On Windows, I could use 'netstat -a -b'. Is there a way to display the process info on HP-UX? Or is there another command to retrieve similar information? Thank you in advance!
Best regards,
Victor
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 11:01 AM
тАО03-25-2009 11:01 AM
Solution
Hi Victor:
Download 'lsof' :
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.81/
Regards!
...JRF...
Download 'lsof' :
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.81/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 11:02 AM
тАО03-25-2009 11:02 AM
Re: display processes listening on the ports
If you already know about lsof, why not using it?
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.81/
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.81/
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 11:04 AM
тАО03-25-2009 11:04 AM
Re: display processes listening on the ports
Have a look at 'lsof'. If you don't have it, download and install it.
Say you want to look for something on TCP port 1234.
# lsof -i tcp:1234
Say you want to look for something on TCP port 1234.
# lsof -i tcp:1234
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP