parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems to reuse --eta output


From: Pacho Ramos
Subject: Problems to reuse --eta output
Date: Mon, 18 Dec 2017 12:11:40 +0100

Hello,

I am trying to let users to get meaningful time remaining measurements from the parallel output. For now I am putting parallel 2 output to a file. The problem is that the file is constantly being updated and, then, even if I can watch it properly with "tail -f ..." I cannot do, for example:
tail -n1 file | cut -d " " -f2 -> to get the seconds left, neither awk. Both end up showing "0s" probably because they read the whole file at the end.

Do you know how could I solve this issue? In summary, I would need to get simply the number of seconds left when the user asks for it and, after that, play with that number (to show the format in hours ans so).

Thanks a lot

reply via email to

[Prev in Thread] Current Thread [Next in Thread]