Operating System - Tru64 Unix
1752707 Members
5551 Online
108789 Solutions
New Discussion юеВ

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 3
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