Skip to main content

snaplock compliance-clock show

Contributors
Suggest changes

Displays the node ComplianceClock

Availability: This command is available to cluster and Vserver 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:

  • Node name

  • ComplianceClock Time

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