From b7e3a703d8a57ee977c628095c22644c38d57848 Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Wed, 20 Mar 2019 23:42:46 +0000 Subject: [PATCH] Monitor how a pipeline's wget processes are faring --- pipelines-monitor-tmux-wget-outcomes | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 pipelines-monitor-tmux-wget-outcomes diff --git a/pipelines-monitor-tmux-wget-outcomes b/pipelines-monitor-tmux-wget-outcomes new file mode 100644 index 0000000..34e1816 --- /dev/null +++ b/pipelines-monitor-tmux-wget-outcomes @@ -0,0 +1,3 @@ +#!/bin/bash +# Monitor how the wget processes went recently from pipelines running in tmux windows +{ for i in {1..6}; do tmux capture-pane -t session:${i} -pS -1000; done; } | grep -P 'WgetDownload' | grep -Po '^(Finished|Failed|Retrying)' | sort | uniq -c