hsm time get

Display the current HSM time, the current host time, and the difference between the two, in a block called System Times.

Once hsm time sync has been executed, the System Times information also appears in the command output for:

>lunash:> hsm show

>lunacm:> partition showinfo

NOTE   The hsm time commands are available for HSMs with Luna Appliance Software 7.8.0 or newer and Luna HSM Firmware 7.8.0 or newer.

This command returns an error (LUNA_RET_TIME_NOT_INITIALIZED) until lunash:> hsm time sync has been executed for the first time.

User Privileges

Users with the following privileges can perform this command:

>Admin

>Operator

>Monitor

The HSM SO is not required to be logged in, to run this command.

Syntax

hsm time get

Example

lunash:>hsm time get

   System Times:
   =============
   HSM Time:                           Mon May 16 15:26:12 UTC 2022
   Host Time:                          Mon May 16 15:22:53 UTC 2022
   Difference:                         199 sec



Command Result : 0 (Success)