Sponsored Content
Top Forums UNIX for Advanced & Expert Users Ntp : How is the synchronization time scheduled? Post 303038894 by Bloehdian1 on Monday 16th of September 2019 03:06:20 PM
Old 09-16-2019
Ntp : How is the synchronization time scheduled?

Hello,

one of my clients has the following task for me:

To write a Perl script that checks, whether ntp is active on a particular AIX or Linux box.

Obviously the last synchronization is logged in the file ntp.log
So, my task would be find out, when the synchronization SHOULD have taken place and compare this with the time stamp of the log entry. Seems to be easy, but:

Up to now I could not figure out where the nominal sync time is configured or which command will reveal it.

E.g., the file ntp.conf on the AIX box contains the following entries

Code:
broadcastclient
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace

Nothing about starting tines or similar.

Any ideas?

Greetz
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Time synchronization

All What is the best way to keep the system clock synchronized? I have looked at ntp and netdate. Is one good over the other? Basically I want to know if what is the most secure way to keep the system clock insync. netdate will require me to open up some port 37... is this safe? ntp also... (1 Reply)
Discussion started by: skotapal
1 Replies

2. UNIX for Advanced & Expert Users

time synchronization

i have an HP UNIX box w/c acts as ntp server... I tried to change the time plus 8 minutes... the problem is that the other HP UNIX ntp client did not follow the time... when I tried to restart ntp client... using stop start it only sync to the server once... when I issue the command "ntpq -p", w/c... (2 Replies)
Discussion started by: inquirer
2 Replies

3. Shell Programming and Scripting

Shell script to move certain files on scheduled time

Hi Friends, I want a shell script which will move certain .jar files from a specified location (say /publish/content) to (/publish/archive) on every saturday morning 6 am. One more thing to add is that before moving files it must check free space at (/publish/archive), if it is more than 60 %... (7 Replies)
Discussion started by: abhishek27
7 Replies

4. Linux

How often does Linux NTP server update its time with the external NTP server?

All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
Discussion started by: MichaelLi
1 Replies

5. Red Hat

ntp time synchronization

hello all,, am trying to do a time synchronization between a ntp server and a client, but facing some problems in doing so: i run the ntpdate in debug mode and this is what i got. please help me out.. # ntpd -d -u 172.22.1.207 ntpd 4.2.2p1@1.1570-o Sun Aug 28 19:21:03 UTC 2011 (1)... (1 Reply)
Discussion started by: rahul11c
1 Replies

6. Red Hat

Auto NTP Time Synchronization

Good morning, My first post and first visit, so hello. I have been asked to see if one of our Linux boxes can have it's time sync automatically because the person who built the system has told our staff it cannot be done. To me that raised some flags because although I am no Linux expert, I just... (12 Replies)
Discussion started by: YSupport
12 Replies

7. Post Here to Contact Site Administrators and Moderators

Server Upgrade Scheduled for Today - 7:30 GMT (2:30 PM Eastern Time)

Dear All, Today, somewhere around 7:30 GMT (2:30 PM Eastern Time) www.unix.com will go down for what we hope is around 15 - 20 minutes as we change out some hardware on the server. Thank you for your patience and support. Neo (0 Replies)
Discussion started by: Neo
0 Replies

8. Red Hat

Cron Jobs not running at scheduled time

I've scheduled few jobs using cron. But they are not running ..... What might be the possible reasons ?? Also tell me how to troubleshoot............. Please help me ....... Thanks in Advance. (2 Replies)
Discussion started by: vamshigvk475
2 Replies

9. HP-UX

Ntp time synchronization problems

There is one server in my company where the time is out of sync. When I checked (compared with other servers whose time is correct), the XNTPD variable in /etc/rc.config.d/netdaemons was set as 0. I changed this to 1, and tried restarting the xntpd process with : # /sbin/init.d/xntpd start ... (4 Replies)
Discussion started by: anaigini45
4 Replies
streamadm(4)						     Kernel Interfaces Manual						      streamadm(4)

NAME
streamadm - Defines configuration information about a STREAMS module or driver SYNOPSIS
#include <sys/stream.h> struct streamadm { uint sa_version ; uint sa_flags ; char sa_name [FMNAMESZ+1]; caddr_t sa_ttys ; uint sa_sync_level ; caddr_t sa_sync_info ; }; PARAMETERS
Version identifier for the streamadm structure. Used for compatibility reasons. A flag indicating the type of STREAMS. Possible values are For a STREAMS driver. For a STREAMS module. The unique name of the module or driver. Modules and drivers share a common name space. The maximum length for a name is set by FMNAMESZ. A pointer to the ttys() routine that will be used by the module or driver. When the module or driver is added via strmod_add(), this pointer will be placed in the d_ttys field in the cdevsw structure. If the driver is not a tty driver, this field is set to NULL. The synchronization level for the module or driver. This field is relevant on multiprocessors. The possible values are: The default, global level synchronization. Global level synchronization. Arbitrary level synchronization. Mod- ule level synchronization. Queue pair level synchronization. Queue level synchronization. A pointer to synchronization data. This field is relevant if sa_sync_level is SQLVL_ELSEWHERE. DESCRIPTION
The streamadm structure defines additional configuration information for a STREAMS module or driver. The operating system configuration procedure uses this structure in addition to the traditional streamtab structure when configuring a STREAMS module or driver. The Network Programmer's Guide contains additional information about the synchronization levels for the module or driver. RELATED INFORMATION
Interfaces: strmod_add(2), strmod_del(2). Network Programmer's Guide delim off streamadm(4)
All times are GMT -4. The time now is 11:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy