Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

Tru64 ntp question

Tru64 ntp question

Hi.. We have an ntp server (vers 3) on Tru64 4.0d. We want to decom the ntp server but want to check what ntp clients are using the ntp service.

I would like to know how I can find out what clients are using this ntp server.

Any clues on how I can do this ?
3 REPLIES
Steven E. Protter
Exalted Contributor

Re: Tru64 ntp question

Shalom,

A guess, based on Unix knowledge, not Tru64

netstat -an | grep ":123"

I'm assuming I remember correctly that 123 is the NTP port. I don't know how often those clients will query but this should give you a good idea whats happening.

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
Johan Brusche
Honored Contributor

Re: Tru64 ntp question


NTP uses udp , so you will only see localhost.ntp *.ntp and .ntp listen ports with the command netstat -a(n).

The ntpq and xntpdc commans only provide info about ntp servers and peers.

If packetfiltering is enabled in your kernel, you can enable packet filtering in promiscuous mode with the command /usr/sbin/pfconfig and then use tcpdump to only monitor port 123.

Rgds,
__ Johan.

_JB_

Re: Tru64 ntp question

Thanks for the responses.. I was able to get information that I needed by doing;
# xntpdc -c monlist