- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Show the name of the program to which each soc...
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
02-16-2006 10:21 PM
02-16-2006 10:21 PM
Show the name of the program to which each socket belongs
whit Linux if I want know which program open a socket I run:
netstat -lutanp | grep LISTEN
tcp6 0 0 :::80 :::* LISTEN 5361/apache2
tcp 0 0 0.0.0.0:5865 0.0.0.0:* LISTEN 4326/python
whit HP/ux I don'know any command...
Can you help me..?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 10:26 PM
02-16-2006 10:26 PM
Re: Show the name of the program to which each socket belongs
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 10:31 PM
02-16-2006 10:31 PM
Re: Show the name of the program to which each socket belongs
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=238432
Install lsof tool from,
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.75/
and try as,
# lsof -i tcp:
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 10:37 PM
02-16-2006 10:37 PM
Re: Show the name of the program to which each socket belongs
#netstat -a | grep LISTEN
regards,
mustafa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 10:51 PM
02-16-2006 10:51 PM
Re: Show the name of the program to which each socket belongs
"lsof" is the command you are looking for.. You can download and install from,
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.75/
You can use as,
# lsof -i tcp:
# lsof -i udp:
-Arun