Hi,
I have 4 solaris 9(32-Bit) Sparc machines on the same subnet.
All 4 of them have different times( off by 10-15 mins).
I need to synchronize all 4 of them.
Please advise what I should do to sync them to the proper time, and with each other.
Thanks (3 Replies)
Hi, I'm new to unix/ Perl CGI. I have written Perl CGI scripts to upload a file into 2 servers at the same time using url redirection. But what happens is when i upload the file, it is getting uploaded in the first server properly and an empty file is uploaded in the second server( with the same... (7 Replies)
Hi all
We are currently using AIX 5.3, we reuquire to change the time according to the daylight saving scenario. We are using the internal clock and are not synced with ntp server. Can any one please tell me how to do that without effecting the processes running on the servers? (2 Replies)
Hi, I am very new & I am upgrading the AIX OS 5.3 to 6.1 by CD/DVD media. Before Upgrading I must backup the data, right? I have to boot from CD then the server will start the process. So during the upgrading, the applications of this AIX Box will be accessible to the Apps users or not? ... (1 Reply)
Hi,
I"m trying to achieve the following:
I have a NAS which holds all my pictures, and have it mounted on my xbmc as a network share. I want to automatically synchronize my pictures (NAS -> xbmc, one direction).
But, during the synchronization I want to resize the pictures to make them... (7 Replies)
This is the password aging script for aix just completed. So far tested and still testing on one of our aix server running 5.3.0.0. So anyway as you can see it is very similar to pwage-hpux-T the only difference on aix /etc/passwd file looks in this format. Also for this script to work you need to... (0 Replies)
Hi all,
I am trying to exchange hostname and IP address of two AIX machines.
But i am confused as how to change it ?
do i need to use "smitty mktcpip" or "smitty tcpip" ?
what is the difference between smitty mktcpip and smitty tcpip ?
Also anymore steps to follow or just updating... (3 Replies)
I am currently setting up a public key authentication between servers. The goal is to get the date via `ssh hostname date` on all the 4 remote servers , put the value in a text file on the central server and compare the date (specifically seconds) for each server date output to check if time is... (7 Replies)
Hello,
I have 3 AIX 6.1 machines running INFORMIX 11.7 database engine.
One of these servers is the database server and the other 2 servers are connecting to it.
I am doing a test to determine the time of query execution between these servers and i see that in specific times one of these... (12 Replies)
Discussion started by: omonoiatis9
12 Replies
LEARN ABOUT OPENDARWIN
adjtime
ADJTIME(2) BSD System Calls Manual ADJTIME(2)NAME
adjtime -- correct the time to allow synchronization of the system clock
SYNOPSIS
#include <sys/time.h>
int
adjtime(const struct timeval *delta, struct timeval *olddelta);
DESCRIPTION
Adjtime() makes small adjustments to the system time, as returned by gettimeofday(2), advancing or retarding it by the time specified by the
timeval delta. If delta is negative, the clock is slowed down by incrementing it more slowly than normal until the correction is complete.
If delta is positive, a larger increment than normal is used. The skew used to perform the correction is generally a fraction of one per-
cent. Thus, the time is always a monotonically increasing function. A time correction from an earlier call to adjtime() may not be finished
when adjtime() is called again. If olddelta is non-nil, the structure pointed to will contain, upon return, the number of microseconds still
to be corrected from the earlier call.
This call may be used by time servers that synchronize the clocks of computers in a local area network. Such time servers would slow down
the clocks of some machines and speed up the clocks of others to bring them to the average network time.
The call adjtime() is restricted to the super-user.
RETURN VALUES
A return value of 0 indicates that the call succeeded. A return value of -1 indicates that an error occurred, and in this case an error code
is stored in the global variable errno.
ERRORS
Adjtime() will fail if:
[EFAULT] An argument points outside the process's allocated address space.
[EPERM] The process's effective user ID is not that of the super-user.
SEE ALSO date(1), gettimeofday(2), timed(8), timedc(8),
R. Gusella and S. Zatti, TSP: The Time Synchronization Protocol for UNIX 4.3BSD.
HISTORY
The adjtime() function call appeared in 4.3BSD.
4.3 Berkeley Distribution June 4, 1993 4.3 Berkeley Distribution