HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Forcing shutdown of a socket
Operating System - HP-UX
1828669
Members
2255
Online
109984
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
05-27-2005 01:53 AM
05-27-2005 01:53 AM
Gurus,
I'm trying to set up some hands-on debugging training for some people in my office, and want to force a shutdown of a socket from one side of the connection only. I've done this before, but can't remember how, and can't find anything in the first 4 pages of Google or the ITRC which shows me this.
I know this is not good practice, but I'm specifically trying to break something in order to get people to do some hands-on truss and lsof to identify where the problem is.
Any clues? I know you have to force a shutdown of the socket identifier at (effectively) kernel level, just can't for the life of me remember the commands to find that identifier or kill it.
HP11.00 64 bit, btw.
Cheers,
Stuart.
I'm trying to set up some hands-on debugging training for some people in my office, and want to force a shutdown of a socket from one side of the connection only. I've done this before, but can't remember how, and can't find anything in the first 4 pages of Google or the ITRC which shows me this.
I know this is not good practice, but I'm specifically trying to break something in order to get people to do some hands-on truss and lsof to identify where the problem is.
Any clues? I know you have to force a shutdown of the socket identifier at (effectively) kernel level, just can't for the life of me remember the commands to find that identifier or kill it.
HP11.00 64 bit, btw.
Cheers,
Stuart.
A sysadmin should never cross his fingers in the hope commands will work. Makes for a lot of mistakes while typing.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 01:55 AM
05-27-2005 01:55 AM
Solution
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe0d97680e012d71190050090279cd0f9,00.html
live free or die
harry d brown jr
live free or die
harry d brown jr
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 02:09 AM
05-27-2005 02:09 AM
Re: Forcing shutdown of a socket
Bah. Force, disconnect, socket - didn't look for free, port, process.
Thanks Harry :)
Thanks Harry :)
A sysadmin should never cross his fingers in the hope commands will work. Makes for a lot of mistakes while typing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 02:11 AM
05-27-2005 02:11 AM
Re: Forcing shutdown of a socket
ndd /dev/tcp/tcp_discon
A sysadmin should never cross his fingers in the hope commands will work. Makes for a lot of mistakes while typing.
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