Bläddra i källkod

Monitor how a pipeline's wget processes are faring

master
JustAnotherArchivist 5 år sedan
förälder
incheckning
b7e3a703d8
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. +3
    -0
      pipelines-monitor-tmux-wget-outcomes

+ 3
- 0
pipelines-monitor-tmux-wget-outcomes Visa fil

@@ -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

Laddar…
Avbryt
Spara