- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Killing a process to free up port
Operating System - HP-UX
1753636
Members
5890
Online
108798
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
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
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
тАО04-23-2003 06:17 AM
тАО04-23-2003 06:17 AM
Hi,
I have an application which uses some specific port. A lot of time this app dies and when the port is free some other application binds to this port.
Now I want to know which process is using this port so that I can kill.
Well I want to free up this port.
Iam havinh HP-UX 11 server.
Thanx
Sanjay Duhan
I have an application which uses some specific port. A lot of time this app dies and when the port is free some other application binds to this port.
Now I want to know which process is using this port so that I can kill.
Well I want to free up this port.
Iam havinh HP-UX 11 server.
Thanx
Sanjay Duhan
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2003 06:24 AM
тАО04-23-2003 06:24 AM
Re: Killing a process to free up port
Hi
netstat -a
Steve Steel
netstat -a
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2003 06:28 AM
тАО04-23-2003 06:28 AM
Re: Killing a process to free up port
There is a product called lsof that can help you with this as well. It is found at any of the porting centers...
Hope it helps
John
Hope it helps
John
Spoon!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2003 06:38 AM
тАО04-23-2003 06:38 AM
Solution
Hello,
as you know the used port try "lsof" which is able to display the associated processes in most cases (for each process that allocates a file descriptor)
example:
# lsof -i:23
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
inetd 17768 root 5u inet 0x2b2f940 0t0 TCP *:telnet (LISTEN)
You can see Port 23 is in use by a TCP SErvice "telnet" and the responsible process is inetd with PID 17768.
"lsof" is available at the HP Porting Center:
http://hpux.cs.utah.edu/
There search for "lsof".
Regards,
Andreas
as you know the used port try "lsof" which is able to display the associated processes in most cases (for each process that allocates a file descriptor)
example:
# lsof -i:23
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
inetd 17768 root 5u inet 0x2b2f940 0t0 TCP *:telnet (LISTEN)
You can see Port 23 is in use by a TCP SErvice "telnet" and the responsible process is inetd with PID 17768.
"lsof" is available at the HP Porting Center:
http://hpux.cs.utah.edu/
There search for "lsof".
Regards,
Andreas
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP