snaplock compliance-clock show

Displays the node ComplianceClock

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The snaplock compliance-clock show command will display System ComplianeClock of the nodes in the cluster. It will display the following information:

Parameters

{ [-fields <fieldname>, ...]
If you specify the -fields <fieldname>, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
| [-instance ]}
If you specify the -instance parameter, the command displays detailed information about all fields.
[-node {<nodename>|local}] - Node
If this parameter is specified, the command will display ComplianceClock for that particular node only.
[-time <text>] - ComplianceClock Time of the Node
If this parameter is specified, the command will display nodes having the same -time value.

Examples

        cluster1::> snaplock compliance-clock show
        Node                ComplianceClock Time
        ------------------- -----------------------------------
        node1               Mon Jan 12 11:34:15 IST 2015 +05:30
        node2               Mon Jan 12 11:34:10 IST 2015 +05:30
        2 entries were displayed.

    
        cluster1::> snaplock compliance-clock show -node node1
        Node                ComplianceClock Time
        ------------------- -----------------------------------
        node1               Mon Jan 12 11:34:45 IST 2015 +05:30

    

The following example shows the output when the session privilege level is "diagnostic".

cluster1::*> snaplock compliance-clock show
Node        ComplianceClock Time                Node ID    ID
----------- ----------------------------------- ---------- -------------
node1       Mon Jan 12 11:37:13 IST 2015 +05:30 4040216954 1418640203778
node2       ComplianceClock is not configured.
	                                 -          -
2 entries were displayed.

    

The following example shows the output when the session privilege level is "diagnostic".

    cluster1::*> snaplock compliance-clock show -node node1

                            Node: node1
            ComplianceClock Time: Mon Jan 12 11:37:55 IST 2015 +05:30
                         Node ID: 4040216954
                              ID: 1418640203778
     ComplianceClock Time (secs): 1419002188
     ComplianceClock Skew (secs): 1014