Solved

how to check port stastics in solaris

Posted on 2008-10-28
5
2,499 Views
Last Modified: 2013-12-27
I have a solaris 10 with one local zone. We are having some performance  issue. Application use one of the port 14200. I need to know if there is any way to check on the statistics about this, like I/P or o/p packets , any errors , jusk like on NIC interfaces..

 
0
Comment
Question by:manjucee
  • 2
  • 2
5 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 125 total points
ID: 22828008
you may use the tools like

netstat -na

OR

lsof -i:portno

you may download from

ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/lsof_0508-4.80-sol10-sparc-local.gz

http://www.ss64.com/osx/lsof.html
0
 
LVL 22

Assisted Solution

by:blu
blu earned 125 total points
ID: 22828043
Of course, those will only tell you whether or not the port is listening or connected, it won't tell you anything about performance. You can use snoop if the packets are actually going over the wire. Inter-zone traffic is not snoopable in Solaris 10, although this feature is available in OpenSolaris.  Another possibility is to use dtrace. Again, the timing is off, since the dtrace IP provider is not available in Solaris 10, only OpenSolaris and the one thing that would really help is the TCP provider but that is not yet available in either version. Soon though.

Using truss on the application and dtrace are probably your best bets.
0
 

Author Comment

by:manjucee
ID: 22830852
Thank you! will check and let you know the results soon.
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 22830892
the provided commands / tools will give an indication of the connections to the server which will reflect the load on the system
0
 

Author Closing Comment

by:manjucee
ID: 31511020
Thank you both! It did helped in isolating some of the issues.It was due to the incorrect DNS entries.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Many network operators, engineers, and administrators do not take several factors into consideration when troubleshooting network throughput and latency issues.  They often  measure the throughput by performing a measurement  by transferring a large…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

746 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

8 Experts available now in Live!

Get 1:1 Help Now