diff options
author | euer <root@euer.krebsco.de> | 2012-12-07 15:56:41 +0100 |
---|---|---|
committer | euer <root@euer.krebsco.de> | 2012-12-07 15:56:41 +0100 |
commit | 4b04e2c71f42c78a6a69dca085c4a2912f3d39d3 (patch) | |
tree | e007078dde45a19a792d9cf86f4727af509b0e4d /retiolum/bin | |
parent | 8b31b7db47438b72504915efa062702ff99860f6 (diff) | |
parent | dfe735f225f409eb01def7691a42a69c882366b8 (diff) |
Met push origin master
rge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'retiolum/bin')
-rwxr-xr-x | retiolum/bin/dump-graph | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/retiolum/bin/dump-graph b/retiolum/bin/dump-graph new file mode 100755 index 00000000..87539f49 --- /dev/null +++ b/retiolum/bin/dump-graph @@ -0,0 +1,9 @@ +#! /bin/sh +set -euf + +t0="`date '+%Y-%m-%d %H:%M:%S'`" +systemctl kill --signal=USR2 tincd@retiolum +sleep 5 +journalctl --since="$t0" | sed -n ' + s/.*tinc\.retiolum\[[0-9]\+\]: \([^ ]\+\) to \([^ ]\+\) at \([^ ]\+\) .*$/\1 \2 \3/p +' |