- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to know which process is bound to a port
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
10-04-2007 08:57 PM
10-04-2007 08:57 PM
How to know which process is bound to a port
I'm using a 3PP software which binds to a DLPI to use a LAN card; the bind fails because the device is busy.
How can I get the Id of the process already bound to that DLPI?
thanks
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2007 09:02 PM
10-04-2007 09:02 PM
Re: How to know which process is bound to a port
Use lsof
lsof -i TCP:xxxx
regards
L-DERLYN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2007 09:03 PM
10-04-2007 09:03 PM
Re: How to know which process is bound to a port
Try with lsof
Fat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2007 09:05 PM
10-04-2007 09:05 PM
Re: How to know which process is bound to a port
what should I put in place of xxxx?
sorry for my stupid question maybe ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2007 09:08 PM
10-04-2007 09:08 PM
Re: How to know which process is bound to a port
Shame it's not installed by default.
For recent OS versions get it here:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.78/
For the older versions, you can try on my site:
http://mirrors.develooper.com/hpux/downloads.html
Be SURE to pick the correct version, otherwise it will either not run at all, or give the wrong results. When all fails, build from source.
ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2007 09:11 PM
10-04-2007 09:11 PM
Re: How to know which process is bound to a port
in this form:
[46][protocol][@hostname|hostaddr][:service|port]
see lsof man page
Fat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2007 09:43 PM
10-04-2007 09:43 PM
Re: How to know which process is bound to a port
port=5555
# lsof -i TCP:5555
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
inetd 868 root 33u IPv4 0x4b387e80 0t0 TCP *:omni (LISTEN)
#
WK