1827612 Members
3246 Online
109966 Solutions
New Discussion

Re: netstat - port 37

 
SOLVED
Go to solution
Tony Chou
Occasional Advisor

netstat - port 37

Can you point me to the right direction? Port 37 is used by the time server. I'm curious how is it's performance. And how do I monitor it using the netstat program?

I tested a program to utilize this time server and ran 5000 processes in 21 seconds. Does it sound right to you?

Thanks!
Tony Chou
7 REPLIES 7
Steven E. Protter
Exalted Contributor
Solution

Re: netstat - port 37

Just to note port connections:

netstat -an | grep 37

This will get you some data but you'll need to refine it a bit.

Your speed data seems reasonable but will vary based on network connection speed and cpu and memory.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tony Chou
Occasional Advisor

Re: netstat - port 37

Thank you for your light-speed reply. I'm aware of netstat -an | grep 37 (sorry). Is there any other way to look at the reponse time on this port specifically?

I did the test on a development box so I'm sure the response will be much better if it's on a production box.

BTW, what is the name of the time server?

Thanks again for your help!
Tony Chou

Steven E. Protter
Exalted Contributor

Re: netstat - port 37

I think http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x65ed6c96588ad4118fef0090279cd0f9%2C00.html&admit=716493758+1068149714614+28353475

This thread explores and explains the issue better than I can.

I know of no way to monitor a specific port for performance

Since its network, the network portion of the script I'm attaching might be a good start.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Berlene Herren
Honored Contributor

Re: netstat - port 37

Ethereal may help... it's a free network analyzer.

http://www.ethereal.com
Berlene

Did you know the latest version of ethereal can read nettl traces?
http://www.mindspring.com/~bkherren/dobes/index.htm
Jeff Schussele
Honored Contributor

Re: netstat - port 37

Hi Tony,

I'm confused.
Standard NTP uses port 123/UDP
Do you have a proprietary time service?

NTP uses very little resources - negligible actually.

Even if your box is *extremely* loaded there should be no effect on NTP.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Tony Chou
Occasional Advisor

Re: netstat - port 37

Jeff,

Can you point me to a sample code for this udp? I'm aware of port 37 is tcp but it's not running on most of the boxes.

Thanks,
Tony
Tony Chou
Occasional Advisor

Re: netstat - port 37

Berlene,

Thanks for the pointer. I really like the tools, but I might have to jump through so many hoops to get it installed in /usr/local. Can I put them in my own developement directory? I bet the program does something I can't even do as a developer. Things like permissioning, etc. But that's a great tip - at least I can use it for my own benefits.

Tony