[Info-vax] How to read system time from cluster node
BaxterD at tessco.com
BaxterD at tessco.com
Thu Mar 26 06:52:19 EDT 2009
On Mar 26, 5:25 am, Rogal <michal.rog... at gmail.com> wrote:
> Hello!
>
> I've been using VMS for just a few weeks, so this question may be
> lame :). I need to write DCL script which compares system time drift
> between two nodes in a cluster (VMS 7.3). Is there any method to fetch
> system time from another node? I hoped that F$GETSYI would have such
> capability but no...
>
> thanks in advance
>
> MR
Look at SYSMAN
$ mcr sysman set env /node=<nodename>
This assumes that your username is the same on the remote host, if not
then add "/user=<Remote_username>"
It will then prompt you for the password for the remote node user.
once accepted, you will get a SYSMAN> prompt. You can now execute
(pretty much) any DCL command by prefixing it with "do", e.g.
SYSMAN> do show time
will give you the time on the remote node.
Dave.
More information about the Info-vax
mailing list