- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Who & what process has port open ?
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
11-08-2004 02:17 AM
11-08-2004 02:17 AM
HP-UX B.11.11 U 9000/800/A500-7X
Hello HP,
How do I figure out "who" or "what process"
has a port open?
Info from "netstat -a" :
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp 0 0 hohp120.6011 hohp120.58438 ESTABLISHED
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 02:19 AM
11-08-2004 02:19 AM
Re: Who & what process has port open ?
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 02:23 AM
11-08-2004 02:23 AM
Re: Who & what process has port open ?
#lsof -ufoo
option pro-duces a listing of all network files OR files belonging to processes owned by user ``foo''.
Regards,
P.Naidu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 02:26 AM
11-08-2004 02:26 AM
SolutionSearch the forums for 'lsof' to find the depot for 11i. Once it is downloaded, run 'lsof -i tcp:6011'. It will show the process listening at 6011 with it's owner.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 02:44 AM
11-08-2004 02:44 AM
Re: Who & what process has port open ?
lsof is good adivce
available at http://hpux.connect.org.uk/
netstat -a|grep tcp|cut -f2 -d"."|while read a b
do
lsof -i tcp:$a 2>/dev/null
done|sort -u
Is fun
Steve Steel