HP3000-L Archives

August 1997, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Tue, 19 Aug 1997 09:14:47 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (61 lines)
     Cathy O'Malley <[log in to unmask]> on 8/19/97 4:56 AM asked:

     > Could someone tell me if the 'showtime' command is based on a software or
     > hardware clock?  What is the procedure for accessing information
     > about the hardware clock?

     Cathy,

     As far as I know, 'showtime' shows the software clock setting.  To see
     both current clock settings, you can run the SHOWCLKS.PUBXL.TELESUP
     command.  The HP description of this command and an example follow:

     SHOWCLKS 10/13/89    GREENWICH MEAN TIME (GMT) VALIDATION TOOL

     10/13/89    a support tool to identify (GMT) anomalies

     Description of tool:

     Description    : This program is intended to be a support tool when
                      a problem with Greenwich Mean Time(GMT) is expected.
                      The program makes no attempts to modify any clock
                      variables.  When run, SHOWCLKS will display the values
                      for GMT (retrieved from Processor Dependent Code),
                      the MPE software time(obtained with the CALENDAR and
                      CLOCK intrinsics) and the GMT offset, which is the
                      difference between the two.

                      No user input is required!

    Sample output below:
    -------------------

    SHOWCLKS.PUBXL.TELESUP

    SHOWCLKS/XL  A.10.00
    DEBUG/iX B.79.06

    HPDEBUG Intrinsic at: ef4.00007258 PROGRAM+$198
    PRIV=$3 := $0

    *************************************************************
    ***                                                       ***
    ***   Greenwich Mean Time : TUE, AUG 19, 1997, 12:26 PM   ***
    ***   GMT/MPE offset      : -4:00:00                      ***
    ***   MPE System Time     : TUE, AUG 19, 1997,  8:26 AM   ***
    ***                                                       ***
    *************************************************************

                 **** C Library Information ****

        Current value of Time Zone(TZ) variable : EST5EDT
        CTIME function return :  Tue Aug 19 08:26:56 1997


     Regards,

     John Hornberger
     Sr. Systems Programmmer
     General Signal Services
     [log in to unmask]

ATOM RSS1 RSS2