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
0 18 21 60 0 0|6421M 0 | 120B 876B| 0 0 | 36k 53kWriting:
0 18 17 64 0 1|6414M 0 | 120B 346B| 0 0 | 36k 53k
0 18 14 67 0 1|6413M 0 | 120B 346B| 0 0 | 36k 53k
0 9 11 77 0 3| 0 4503M| 120B 346B| 0 0 | 24k 8055
0 9 11 77 0 3| 0 4525M| 120B 346B| 0 0 | 24k 8046
0 9 13 75 0 3| 0 4505M| 120B 346B| 0 0 | 25k 7968
0 19 1 75 0 4|3420M 3401M| 120B 362B| 0 0 | 37k 36k
0 18 1 77 0 3|3282M 3261M| 180B 362B| 0 0 | 36k 34k
0 19 2 76 0 3|3297M 3215M| 180B 362B| 0 0 | 35k 33k
time lfs find /lustre/arm2arm/| wc -lEnable: sh set-protection.sh 0
1454706
real 0m14.941s
user 0m1.633s
sys 0m10.770s
time lfs find /lustre/arm2arm/| wc -l
1454706
real 0m10.468s
user 0m0.959s
sys 0m5.521s
#!/bin/bash
[ ! -d /sys/kernel/debug/x86 ]&& mount -t debugfs debugfs /sys/kernel/debug
echo $1 > /sys/kernel/debug/x86/pti_enabled
echo $1 > /sys/kernel/debug/x86/ibrs_enabled
echo $1 > /sys/kernel/debug/x86/ibpb_enabled
#!/bin/bash
Q:Why should I disable the protection?[ ! -d /sys/kernel/debug/x86 ]&& mount -t debugfs debugfs /sys/kernel/debug
echo $1 > /sys/kernel/debug/x86/pti_enabled
echo $1 > /sys/kernel/debug/x86/ibrs_enabled
echo $1 > /sys/kernel/debug/x86/ibpb_enabled