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-26-2005 09:11 PM
10-26-2005 09:11 PM
And how can we decide which port belongs to which application or ...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 09:13 PM
10-26-2005 09:13 PM
Re: netstat
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 09:15 PM
10-26-2005 09:15 PM
Re: netstat
under /etc/services u can see all ur ports
if u install an applikation it should make a entry in this file
netstat -a
man netstat
regrads gga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 09:16 PM
10-26-2005 09:16 PM
Solutionso, how is your patch installation?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=968532
guess u have not assign any points:
http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1323105&listType=unassigned&forumId=1
ports your server is listening to:
# netstat -an|grep -i listen
ports your server has establish connection:
# netstat -an|grep -i estab
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 09:18 PM
10-26-2005 09:18 PM
Re: netstat
check ur /etc/services file to view all informations.
Awadhesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 09:19 PM
10-26-2005 09:19 PM
Re: netstat
Ports and service name allocation is done based on /etc/services file.
It will be like,
servicename port number/protocol
a) how can i check what are all the ports (used and unused) allocated to my server?
You can check with netstat or lsof (free downloadable tool).
i) Using netstat
# netstat -na | grep -w
ii) Using lsof
# lsof -P
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 09:23 PM
10-26-2005 09:23 PM
Re: netstat
lsof -i tcp
lsof -i udp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 09:34 PM
10-26-2005 09:34 PM
Re: netstat
i got thr. netstat -nr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 09:34 PM
10-26-2005 09:34 PM
Re: netstat
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.76/
Man page is at
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.76/man.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 09:43 PM
10-26-2005 09:43 PM
Re: netstat
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 09:47 PM
10-26-2005 09:47 PM
Re: netstat
Man netstat to find the list of options to find the various port that are open on your machine.
And also use port scanners like nmap to find the various ports opened and services running using those ports.
HTH,
Prabu.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2005 10:31 PM
10-27-2005 10:31 PM
Re: netstat
And this is a common tcp port usege.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2005 12:40 AM
10-28-2005 12:40 AM
Re: netstat
"netstat -an|grep LISTEN"
This would show all the active listen ports which shows a lot more than /etc/services and the reason is that applications could start their on ports outside of /etc/services.
Matthew from Boston
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2005 12:46 AM
10-28-2005 12:46 AM
Re: netstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2005 04:59 AM
10-28-2005 04:59 AM
Re: netstat
And just because something appears in /etc/services, it does not mean that service is active on the system - there are many many many more things in /etc/services than are enabled - perhaps even available - on HP-UX.
A port is only in use if you see it in netstat or lsof output.