HP OpenVMS Systems

ask the wizard
Content starts here

Uptime, and Shutdown and Reboot Time?

» close window

The Question is:

How do I determine who or how the system was last shutdown and rebooted.

The Answer is :

  Please see topics 232, 2451, and 4268 for other discussions
  of determining the system uptime and downtime.
  To determine the most recent boot time, see:
    $ boottime=F$GETSYI("BOOTTIME")
    $ boottime=F$GETSYI("CLUSTER_FTIME")
  No particularly reliable mechanism exists for reporting the system
  downtime due to the nature of the event, though orderly shutdowns and
  tools that periodically record the current system time in non-volatile
  storage (eg: file) can permit a reasonable inference to be drawn.

answer written or last revised on ( 6-JUN-2000 )

» close window