blob: 5f6a300d35cc944f3f1f0957f0606e57c393640a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
sudo journalctl -b "-${1:-0}" -u rsyncd | \
grep ' rsync on archlinux32/' | \
grep -ivwF "$(
dig pool.mirror.archlinux32.org | \
sed -n '
s/^pool32\.ddns\.eckner\.net\.\s.*\s/(/
T
s/$/)/
p
'
)" | \
sed '
s/.* \(\S\+\) (\S\+)$/\1/
' | \
sort | \
uniq -c | \
sort -k1n,1
|