[Info-vax] How to read system time from cluster node

BaxterD at tessco.com BaxterD at tessco.com
Thu Mar 26 06:57:02 EDT 2009


On Mar 26, 6:52 am, Baxt... at tessco.com wrote:
> 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.

I just noticed that you want to do this in a script.    This makes the
problem much more complex.    You will probably have to arrange for
your script to put the output from SYSMAN into a file, and then parse
the file to get to the actual information.

Of course, the problem is that the time taken to do this probably
impacts your "drift" measurements.

Maybe someone else will give you a better option.   Good Luck.

Dave.



More information about the Info-vax mailing list