Add process.lock.test command so that programs can manually test for
lock file existence.