?
Solved

how to check port stastics in solaris

Posted on 2008-10-28
5
Medium Priority
?
2,509 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 375 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:Brian Utterback
Brian Utterback earned 375 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

588 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