- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- services question
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
08-02-2007 06:33 AM
08-02-2007 06:33 AM
Thanks ,appreciated
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2007 06:43 AM
08-02-2007 06:43 AM
Re: services question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2007 06:52 AM
08-02-2007 06:52 AM
Re: services question
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2007 07:03 AM
08-02-2007 07:03 AM
Re: services question
# lsof -i:512
or
# netstat -an | awk 'z[split($4,z,".")]==512'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2007 02:23 PM
08-02-2007 02:23 PM
Re: services question
lsof >lsof.out
lsof -i tcp >lsof_tcp.out
lsof -i udp >lsof_udp.out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2007 09:24 PM
08-02-2007 09:24 PM
SolutionBut you can stick with netstat for looking up ports currently in use on the server. (Sandmam!'s netstat line is pretty nifty as it reuses the returned last index of awk's split in situ, which is the position where the local socket's port is found; note Linux's netstat uses ":" as port separator).
However, you usually want to connect to a port from another host on whose route some packet filter may block the port.
For this to check you can use a port scanner like nmap (also not part of the standard hpux toolset) from this host.
You can get it from here
http://insecure.org/nmap/
But read the docs before using it because you may trigger off some alert with network or firewall intrusion detectors or arouse their admins' disdain.