Просмотр исходного кода

Monitor how a pipeline's wget processes are faring

master
JustAnotherArchivist 5 лет назад
Родитель
Сommit
b7e3a703d8
1 измененных файлов: 3 добавлений и 0 удалений
  1. +3
    -0
      pipelines-monitor-tmux-wget-outcomes

+ 3
- 0
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

Загрузка…
Отмена
Сохранить