PreviousNext

clock(8dce)

A dcecp object that manages the clock on a local or remote host

Synopsis

clock compare [dts_entity] [-server dts_entity]

clock help [operation | -verbose]

clock operations

clock set [dts_entity] -to DTS_timestamp [-abruptly | -epoch epoch_number | -bypass]
| -epoch epoch_number}

clock show [dts_entity] [-dtsd | -inetd | -dced]

clock synchronize [dts_entity] [-abruptly] | [-dstd] | -inetd | -dced]

Arguments

dts_entity
Identifies the dtsd server or clerk to act on.

With the server option in the compare operation, dts_entity can identify a DTS time provider.

When used without the -dced or -inetd options, dts_entity can be either of the following:

· The name of a dtsd server, which can be on a remote host, in the format:

/.../cellname/hosts/hostname/dts-entity

· As a string binding for the remote host on which the dtsd is running, such as
ncacn_ip_tcp 130.105.1.227

Alternatively, you can specify the binding in dcecp string format, such as
{ncacn_ip_tcp 130.105.1.227}.

When used with the -dced or -inetd options, dts_entity identifies the server by a simple host name in the form hostname.

operation
The name of the clock operation for which you want to display help information.

Description
The clock object represents the clock on a system, and the time that it tells. This object has commands to display and set the time. The time setting commands are done through DTS, unless you specify either the -dced or -inetd option. The optional argument to these commands is the name of a DCE Version 1.1 dtsd running on some machine. Without an argument the _s(dts) convenience variable is checked. If this variable is not set, the command operates on the clock on the local machine.

Use the -epoch option to change only the epoch number of the dtsd.

More:

Errors

Operations

Related Information