Time NTP
Sometimes I just forget and I need a cheat sheet. Ya, ya time is relative.
Windows Time
w32tm /query /configuration w32tm /query /peers w32tm /query /status Time /T
Add
w32tm /config /update /manualpeerlist:"192. 192" w32tm /stripchart /computer:NTPServerNameOrIP /dataonly /samples:x net stop w32time
UNIX Flavours
ntpq -p ntpdate <ip address> vi /etc/ntp.conf sudo /etc/init.d/ntp restart
ddwrt
ntpclient <ip address> stopservice process_monitor startservice process_monitor
Tip:
I was helping a friend as he couldn’t figure out why a few of his servers didn’t sync. He got a little weirded out when I set time on a couple of servers manually and then sync’d. Time is relative so sometimes it’s best to fake it.
This can help though it’s best to find out why it’s drifting:
tos maxdist 30