attpcdaq.daq.workertasks.WorkerInterface.find_data_router

WorkerInterface.find_data_router()[source]

Find the working directory of the data router process.

The directory is found using lsof, which must be available on the remote system.

Returns:The directory where the data router is running, and therefore writing data.
Return type:str
Raises:RuntimeError – If lsof finds something strange instead of a process called dataRouter.