瀏覽代碼

Monitor how a pipeline's wget processes are faring

master
JustAnotherArchivist 5 年之前
父節點
當前提交
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

Loading…
取消
儲存