The "test-process-id" command:
Usage: fossil [--sleep N] PROCESS-ID ...
Show the current process id, and also tell whether or not all other processes IDs on the command line are running or not. If the --sleep N option is provide, then sleep for N seconds before exiting.