05-15-2008
How to change time on servers
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?
10 More Discussions You Might Find Interesting
1. AIX
Hi,
I want to synchronize time on several AIX servers - I don't want to set very precise time value, but I want all the servers to have same time value.
How do I do that ?
thanks
Vilius (2 Replies)
Discussion started by: vilius
2 Replies
2. Shell Programming and Scripting
I am trying to write a script to change passwords for the same user on multiple servers.
My environment runs purely ssh / scp not rsh / rcp and therefore coping using rcp is not an option.
I have been playing with expect to perform tasks but think there must be a better way.
Has anyone got... (7 Replies)
Discussion started by: stolz
7 Replies
3. Red Hat
Hi,
I am very bad at scripting. I need help from scripting experts...
I need to change password of around 100 linux remote servers. I have been given a script for changing the password that automates the task. however I do not understand the usage and meaning of the script, the script is an... (0 Replies)
Discussion started by: renuka
0 Replies
4. Shell Programming and Scripting
Hello Folks
Scenario :
I have a linux box (expect tool installed) which connects to 1000+ other boxes (either Solaris or AIX or Linux ) with a specific id and password using SSH.
I now wish to write a script (Shell and/or expect and/or Python) which will change this existing password to a... (1 Reply)
Discussion started by: ak835
1 Replies
5. Solaris
Hi,
I need to Change passwd for bulk servers using SSH script.
I have one server, from which i can reach all the servers without password via SSH.
There is some expect script, from which i can achieve it.
Can any one help me out here.
Thanks in advance.
Vicky (1 Reply)
Discussion started by: vickyingle5
1 Replies
6. Shell Programming and Scripting
I have the following requirement;
I need to compare set of files in 2 different servers A and B.
Both have same sets of files and directory structure
First I need to move the files from Server A to server B
Compare the corresponding file in B server and see if it has modified (not... (1 Reply)
Discussion started by: vskr72
1 Replies
7. Red Hat
All,
I re-wrote our scripts to speed-up the compiling time, original time is about 1hrs. now dispatch the sub task to different servers through SSH. Now my question is that:
If dispatch these tasks into the current server, there is no errors during compiling process.
If dispatch these tasks... (0 Replies)
Discussion started by: fduan001
0 Replies
8. UNIX for Dummies Questions & Answers
help me (0 Replies)
Discussion started by: sonu pandey
0 Replies
9. AIX
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
10. Shell Programming and Scripting
Hey Gurus,
I have this requirement to change the password for other servers remotely from one server. So, I installed public keys on all servers and wrote the following script to do the job. Something appears to be wrong with my loop, as it only changes one server and ignores the rest. I'm... (24 Replies)
Discussion started by: Hiroshi
24 Replies
LEARN ABOUT OPENDARWIN
ntp-wait
ntp-wait(1) User Commands ntp-wait(1)
NAME
ntp-wait - Wait for ntpd to stabilize the system clock
SYNOPSIS
ntp-wait [-flags] [-flag [value]] [--option-name[[=| ]value]]
All arguments must be options.
DESCRIPTION
ntp-wait will send at most num-tries queries to ntpd(8), sleeping for secs-between-tries after each status return that says ntpd(8) has not
yet produced a synchronized and stable system clock.
ntp-wait will do this quietly, unless the -v flag is provided. This can be useful at boot time, to delay the boot sequence until after
ntpd -g has set the time.
OPTIONS
-n number, --tries=number
Number of times to check ntpd. This option takes an integer number as its argument. The default number for this option is:
100
The maximum number of times we will check ntpd to see if
it has been able to synchronize and stabilize the system clock.
-s secs-between-tries, --sleep=secs-between-tries
How long to sleep between tries. This option takes an integer number as its argument. The default secs-between-tries for this
option is:
6
We will sleep for secs-between-tries after each query
of ntpd that returns "the time is not yet stable".
-v, --verbose
Be verbose.
By default, ntp-wait is silent.
With this option, ntp-wait will provide status information.
-?, --help
Display usage information and exit.
-!, --more-help
Pass the extended usage information through a pager.
-v [{v|c|n --version [{v|c|n}]}]
Output version of program and exit. The default mode is `v', a simple version. The `c' mode will print copyright information and
`n' will print the full copyright notice.
EXIT STATUS
One of the following exit values will be returned:
0 (EXIT_SUCCESS)
Successful program execution.
1 (EXIT_FAILURE)
The operation failed or the command syntax was not valid.
70 (EX_SOFTWARE)
libopts had an internal operational error. Please report it to autogen-users@lists.sourceforge.net. Thank you.
AUTHORS
Harlan Stenn
NOTES
This document corresponds to version 4.2.8p13 of NTP.
This manual page was AutoGen-erated from the ntp-wait option definitions.
ntp (4.2.8p13) 20 Feb 2019 ntp-wait(1)