Tool for manipulating time in running processes.
- Run programs with different time than on the operating system.
- Manipulate time in running processes.
timemachine.so into dynamically linked program with LD_PRELOAD. Set time offset in seconds in TIME_MACHINE_OFFSET environment variable.
LD_PRELOAD=./timemachine.so TIME_MACHINE_OFFSET=3153600000 date
Manipulate time by writing either positive or negative offset in secconds to
echo 123 > /tmp/timemachine-9876/set
Check effective offset by reading file
Log errors by setting TIME_MACHINE_LOG environnment variable to any value.