Help Center/ Atlas 300 Application (Model 3000)/ IDE-daemon-client Command Reference/ Synchronizing the Time Between IDE Daemon and the Host
Updated on 2022-03-13 GMT+08:00

Synchronizing the Time Between IDE Daemon and the Host

Function

Synchronizes the time of the host server with the time of the IDE Daemon server.

Syntax

IDE-daemon-client --host <host_ip>:<port> --time

Parameter

Table 1 Parameter description

Parameter

Description

Mandatory or Not

Default Value

--host

  • host_ip: specifies the IP address of the host.
  • port: specifies the port number.

Yes

The default value of port is 22118.

--time

If both --host and --time are used, the time of the IDE Daemon server prevails, that is, the time on the host server is synchronized to be consistent with that of the IDE Daemon server.

The IDE-daemon-client commands with the --host parameter can include the --time parameter, which is optional. The following provides an example:

IDE-daemon-client --host <host_ip>:<port> --detect --time

Yes

-

Example

  1. Log in to the server on the host as the HwHiAiUser user.
  2. Run the command to check the heartbeat and synchronize the time:
    IDE-daemon-client --host xx.xx.xx.xx:22118 --detect --time

    Replace xx.xx.xx.xx with the actual IP address of the host.