Home >

LunaSH Command Reference Guide > LunaSH Commands > sysconf > sysconf drift init

sysconf drift init

Sets the time, and activates the automatic periodic drift adjustments. This is done after you have completed a period of drift measurement with the sysconf drift startmeasure and sysconf drift stopmeasure commands, with at least an uninterrupted three day measurement period between the start and stop, to calculate the baseline of drift.

Syntax

sysconf drift init -currentprecisetime <currentprecisetime>

Parameter Shortcut      Description         
-currentprecisetime -c Current best precise time in hh:mm:ss format.

Example

lunash:>sysconf drift init -c 18:29:01
 
Measuring drift correction data on this appliance. 
 
Setting the time to 18:29:01 and initializing drift correction of 5 seconds per day on this
   appliance.  The time will be adjusted daily to compensate for this drift. 
 
Use the command 'sysconf drift reset' to disable drift correction. 
   
Date and time set to:  Thu April  7 18:29:01 EDT 2011
 
Command Result : 0 (Success)
 

The following is the response if you did not run sysconf drift startmeasure and allow measurement for sufficient time before initializing drift correction.

lunash:>sysconf drift init -currentprecisetime 13:51:01  
 
Measuring drift correction data on this appliance.

 

Error: unable to initialize drift correction.  The internal data containing
   drift values can not be found.
   
Ensure that the proper data acquisition steps were followed.

Command Result : 0 (Success)