- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ports checking
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
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-15-2002 09:19 PM
10-15-2002 09:19 PM
ports checking
How can I check which all ports are in use and which all ports are not?
Also is there any other file apart from the /etc/services.
In my /etc/services:
# The X10_LI server for each display listens on ports 5800 + display number.
# The X10_MI server for each display listens on ports 5900 + display number.
# The X11 server for each display listens on ports 6000 + display number.
# The X11 font server listens on port 7000.
# Do NOT associate other services with these ports.
# Refer to the X documentation for details.
It has been mentioned that "X11 font server listens on port 7000."
But there is no entry for this port in the /etc/services. How can I check whether this port is in use? If it being used how can I disable it?
Thanks,
Raje.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 09:32 PM
10-15-2002 09:32 PM
Re: ports checking
#netstat -a
to see which ports are in use
or you can down load lsof which gives much clear picture.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 09:38 PM
10-15-2002 09:38 PM
Re: ports checking
It's good to use 'lsof' to check the port status and you can download in
http://hpux.cs.utah.edu/
If you are running HP-UX 11i, you have to download the source and compile by yourself.
e.g. lsof -i tcp:7000
and it will give you the process id that holding this port.
Regards,
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 11:05 PM
10-15-2002 11:05 PM
Re: ports checking
I have HP-UX 11i and have downloaded lsof 4.64 for 11.00,11.20 and the tar file from http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.64/
I am unable to use the lsof os 11.00( version mismatch 32 bit and 64 bit) nor of 11.20(Execute permission denied).
As advised I think I have to compile from the source code in the tar file.
Can you give me stepwise the command to extract and compile lsof?
Thanks,
Raje.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 11:16 PM
10-15-2002 11:16 PM
Re: ports checking
After you extract the tar file, just type './Configure hpux' and 'make' will do all the steps for you.
You can read the HPUX.install or README for more details.
Regards,
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 11:18 PM
10-15-2002 11:18 PM
Re: ports checking
Have a look at this posting:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1de9f715edc6d5118ff10090279cd0f9,00.html