HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- find out the what process holding the port
Operating System - HP-UX
1833780
Members
2142
Online
110063
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
06-21-2006 02:32 PM
06-21-2006 02:32 PM
Hi,
I have one software using one of the high port 7546. Occasiionaly the software will hung but port 7546 still some how occupy. Is there any way I can find out in command line which process holding the 7546 port.
I have one software using one of the high port 7546. Occasiionaly the software will hung but port 7546 still some how occupy. Is there any way I can find out in command line which process holding the 7546 port.
abc
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2006 02:39 PM
06-21-2006 02:39 PM
Solution
If you haven't installed it, one of the best tools to put in your toolbox is lsof (list open files); it will do what you want and much, much more. Get it from here:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.77/
The standard utility is netstat. netstat -a will display the ports in use and the processes associated with them.
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.77/
The standard utility is netstat. netstat -a will display the ports in use and the processes associated with them.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2006 02:40 PM
06-21-2006 02:40 PM
Re: find out the what process holding the port
if it is not installed on your system, you will need to install the utility called lsof which will help you with this.
lsof -i tcp:7546
or in a rougher way
lsof | grep 7546 (may turn out a little more than port 7546)
should show you which pid is holding the port open.
lsof can be obtained from
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.77/
if you need it
hope this helps
lsof -i tcp:7546
or in a rougher way
lsof | grep 7546 (may turn out a little more than port 7546)
should show you which pid is holding the port open.
lsof can be obtained from
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.77/
if you need it
hope this helps
________________________________
UNIX because I majored in cryptology...
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2006 06:54 PM
06-21-2006 06:54 PM
Re: find out the what process holding the port
Check out this thread for:
lsof binary for hpux 11.23 64bit PARISC
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=861484
lsof for hpux 11.00 64-bit
http://the-other.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.00/64/9000_785/
-Amit
lsof binary for hpux 11.23 64bit PARISC
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=861484
lsof for hpux 11.00 64-bit
http://the-other.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.00/64/9000_785/
-Amit
If you are not a part of solution , then you are a part of problem
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