tail /data/p.txt -f | parallel -k --slf hostnames.txt
the /data/p.txt and hostnames.txt one can change on the fly.
tail /data/p.txt -f | parallel -k --slf hostnames.txt
Every 2.0s: cat /proc/mdstat Tue Jun 26 10:33:19 2018
Personalities : [raid1]
md125 : active raid1 sda2[2] sdb2[0]
2099136 blocks super 1.0 [2/1] [U_]
resync=DELAYED
bitmap: 1/1 pages [4KB], 65536KB chunk
md126 : active raid1 sda3[2] sdb3[0]
477894656 blocks super 1.2 [2/1] [U_]
[===>.................] recovery = 19.9% (95154432/477894656) finish=129.8min speed=49130K/sec
bitmap: 4/4 pages [16KB], 65536KB chunk
md127 : active raid1 sda1[2] sdb1[0]
8256512 blocks super 1.2 [2/2] [UU]
unused devices:
raspistill --sharpness 100 -q 5 -t 1 -mm average -ifx denoise -sa 20 -ISO 200 --vstab -awb fluorescent -w 1920 -h 1080 -o /var/www/html/cam/cam.jpg