Operating System - HP-UX
1829712 Members
2751 Online
109992 Solutions
New Discussion

in local host, instruction setting other server time

 
shuh
Occasional Contributor

in local host, instruction setting other server time

i want to know instruction in HP corresponding rdate of solaris, linux, or setclock of IBM AIX
i want to know other solution excluding NTP.
I can not use NTP.
instruction similar to rdate of solaris is needed in HP
2 REPLIES 2
Muthukumar_5
Honored Contributor

Re: in local host, instruction setting other server time

You can use remsh / rexec for this to get remote server data information as,

remsh -l -n "date"
rexec -l -n "date"

It will give same information of date as rdate.

HTH.
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: in local host, instruction setting other server time

rdate will set the remote server date information here in local machine.

Get information from remote server by remsh / rexec or with telnet 13

Write a script to get date with above methods and set the local machine time.

HTH.
Easy to suggest when don't know about the problem!