- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: socket verification commands
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО08-17-2005 10:43 AM
тАО08-17-2005 10:43 AM
Can we kill or close open sockets ? If yes; what is the command for this ?
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2005 11:05 AM
тАО08-17-2005 11:05 AM
Solutionlsof -U
if you do not have lsof, you can get it from
http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.75/
and last but not the least, I do not know any other way to close a socket other than killing the process who opened it if we are talking to do it from the unix command line. Otherwise, sockets are accesible for open and close for the applications. They close the socket by a close() system call as far as my limited system programming knowledge goes. It is not an easy process by any means.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2005 01:24 PM
тАО08-17-2005 01:24 PM
Re: socket verification commands
if you don't have lsof installed you can do a netstat -an
but definitely lsof makes it very easy
thanks
DP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2005 01:36 PM
тАО08-17-2005 01:36 PM
Re: socket verification commands
best of luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2005 01:40 PM
тАО08-17-2005 01:40 PM
Re: socket verification commands
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=928114
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2005 06:41 PM
тАО08-17-2005 06:41 PM
Re: socket verification commands
lsof is contributary utility and can be used to monitor open sockets. You may download its binary from following link:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.75/
Regards
Mahesh