We help IT Professionals succeed at work.
Get Started

Solaris command or utility to monitor number of open file descriptors and sockets

mromeo
mromeo asked
on
1,005 Views
Last Modified: 2013-12-27

Can somebody tell me what would be the best way to monitor the open sockets and file descriptors on a machine?  I am running into a situation where I think my machine is getting max'ed out on its file descriptors, which is set to 256, but I want to monitor this before I starting tuning the kernel.  Can somebody give me some advice on how to do this?  I know that I can use netstat to look at open sockets, but that doesn't give me the total number of combined sockets and file descriptors.

Also, I noticed that netstat sometimes repeats information for a socket.  Does anybody know to prevent that from happening?

Thanks.
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 11 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE