Solved

how to check port stastics in solaris

Posted on 2008-10-28
5
2,504 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

710 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