- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot match up PID's with TCP/IP sockets using ne...
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
Forums
Discussions
Discussions
Discussions
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
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
04-25-2005 08:59 AM
04-25-2005 08:59 AM
Cannot match up PID's with TCP/IP sockets using netstat...
I'm running HP-UX 11.11 and am having a problem trying to match up PID's with the TCP/IP socket that it was initiated from.
I also have a Linux server here whose netstat command uses the -p option much differently than HP-UX's netstat does. On Linux, the -p option shows the PID and name of the program to which each socket belongs.
This is exactly what I'm looking for. Is there a newer binary set for netstat that I need to download and install on my HP-UX server, or is there another way of retrieving this information?
Any insight would be greatly appreciated!
Thanks,
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2005 09:05 AM
04-25-2005 09:05 AM
Re: Cannot match up PID's with TCP/IP sockets using netstat...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2005 09:36 PM
04-25-2005 09:36 PM
Re: Cannot match up PID's with TCP/IP sockets using netstat...
lsof will fulfill your task, but you have a problems installing from the depot. You have to recompile it on your machine.
Regards,
Borislav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 04:53 AM
04-26-2005 04:53 AM
Re: Cannot match up PID's with TCP/IP sockets using netstat...
If and when you see output in netstat -an with no corresponding entry in lsof output, check ndd /dev/tcp tcp_status - the entries with "*" after the TCP state mean they have no associated socket/process and so would not appear in lsof output.
Examples would be TIME_WAIT's, and perhaps any of the FIN_WAIT states. Even ESTABLISHED is possible - for connections that have been established, but for which accept() has yet to be called.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 05:06 AM
04-26-2005 05:06 AM
Re: Cannot match up PID's with TCP/IP sockets using netstat...
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com