HP OpenVMS Systemsask the wizard |
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")
or
$ 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.
|