<agent_handle>.status <agent_handle>.upload
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

<agent_handle>.target-time

Synopsis

<agent_handle>.target-time [-capture|-now|"datetime"]

Description

Set or get the date and time of the target system that is associated with this agent_handle object.

Without argument, or with the -capture flag, this command will output the target date and time string according to the target's locale. With the optional flag the captured output string can be accessed from the <agent_handle>.get-captured-output command. Alternatively either <agent_handle>.run-until-job or <agent_handle>.wait-for-job, with the -capture flag, can be used.

With the -now flag, set the time using the host system's current date and time. With the datetime argument, set the date and time using a string that must be of the RFC2822-date format. For example "2014-01-31 14:15:16" or "Fri, 31 Jan 2014 14:15:16". The date string may contain a UTC timezone suffix.

Provided By

matic
<agent_handle>.status <agent_handle>.upload