attpcdaq.daq.workertasks.WorkerInterface.tail_file¶
-
WorkerInterface.
tail_file
(path, num_lines=50)[source]¶ Retrieve the tail of a text file on the remote host.
Note that this assumes the file is ASCII-encoded plain text.
Parameters: - path (str) – Path to the file.
- num_lines (int) – The number of lines to include.
Returns: The tail of the file’s contents.
Return type: str