HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- kill the dead process which hold the service port
Operating System - HP-UX
1837202
Members
2321
Online
110115
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
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-12-2007 10:53 PM
09-12-2007 10:53 PM
kill the dead process which hold the service port
In my database , we open port no. 5012 for remote connection , however , sometimes they hv many dead connection , so that it always full in connection ( as I only release 10 connection at the same time) , can advise , if I want to terminate the connction that over 15 minutes , what can i do ? is there any script may do that ? thx
/bin/netstat -na |grep 5012
tcp 0 0 0.0.0.0:5012 0.0.0.0:* LISTEN
p.s. the above netstat result found that port 5012 is in listen mode , it is in normal situation , but sometimes some dead process is still in "established" , so I would like to terminate this kind of dead process.
thx in advance.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2007 11:40 PM
09-12-2007 11:40 PM
Re: kill the dead process which hold the service port
Hello,
To find out which process has a port open you can use lsof with the -i option . e.g. lsof -i :5012
You will then need to analyse the results before killing things in case they are genuinely in use .
You can down load hp binaries from the HP porting and archiving centre if you do not have it .
http://hpux.connect.org.uk/
Mike
To find out which process has a port open you can use lsof with the -i option . e.g. lsof -i :5012
You will then need to analyse the results before killing things in case they are genuinely in use .
You can down load hp binaries from the HP porting and archiving centre if you do not have it .
http://hpux.connect.org.uk/
Mike
Help is out there always!!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 01:00 PM
09-13-2007 01:00 PM
Re: kill the dead process which hold the service port
thx reply,
You will then need to analyse the results before killing things in case they are genuinely in use .
You can down load hp binaries from the HP porting and archiving centre if you do not have it .
Yes , I know -i may check the process ,
".. to analyse the results .." --> except use other tools , can I use any script to analyse and kill it ?
thx
You will then need to analyse the results before killing things in case they are genuinely in use .
You can down load hp binaries from the HP porting and archiving centre if you do not have it .
Yes , I know -i may check the process ,
".. to analyse the results .." --> except use other tools , can I use any script to analyse and kill it ?
thx
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