Montag, 30. Juli 2018

Consumer/Producer jobqueue with the gnu parallel

The hosts.txt file must have atleast one line:

tail /data/p.txt -f | parallel -k --slf hostnames.txt

the /data/p.txt and hostnames.txt one can change on the fly.