Determining sockets in use

Posted on 1997-04-21
Last Modified: 2013-12-16
It's bothering myself and one of my users how we can determine the sockets NOT in /etc/services that are in use. ie. we've got (in house) software that many developers are running, who need their own socket.

We need to be able to avoid clashing socket numbers...

What's the damn command to list them...? Is there one...
Question by:rleyton

Expert Comment

ID: 1812053
What OS are you using?

Accepted Solution

adamolson earned 50 total points
ID: 1812054
  Hi...if you're on Solaris, netstat should help you.  talk to you soon..Adam

Author Comment

ID: 1812055
It's HP-UX, but netstat exists there too.

Don't you love standardised Unix...!???


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
removing nim resources 5 48
LastLogonTimeStamp Attribute 7 48
NTP Server in VMware 5 164
Best way to split and output to csv in bash 2 61
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now