Commit cbb80201 authored by Olav Kvittem's avatar Olav Kvittem
Browse files

kill crude-spread-select

parent ef137e41
Pipeline #49046 passed with stages
in 49 seconds
......@@ -3,6 +3,8 @@
export USER=$(whoami)
source $(dirname "${BASH_SOURCE[0]}")/../etc/start.cfg
# rude/crude
if pgrep -u $USER -f "bin/rude " >/dev/null; then # rude stops by itself normally
pkill -u $USER -f "bin/rude " || echo rude kill failed
fi
......@@ -10,24 +12,12 @@ fi
if pgrep -u $USER -f "bin/crude " >/dev/null; then
pkill -u $USER -f "bin/crude " || echo crude kill failed
fi
if pgrep -u $USER -f "bin/crude-ana-gz" >/dev/null; then
pkill -u $USER -f "bin/crude-ana-gz"|| echo crude-ana-gz kill failed
fi
if pgrep -u $USER -f "bin/qstream-gap-ana" >/dev/null; then
pkill -u $USER -f "bin/qstream-gap-ana" # to be sure if it does not die by the above
fi
if pgrep -u $USER -f 'tail.*crude-.*gz' >/dev/null; then
pkill -u $USER -f 'tail.*crude-.*gz'
if pgrep -u $USER -f "bin/crude-spread-select " >/dev/null; then
pkill -u $USER -f "bin/crude-spread-select "|| echo crude-spread-queue kill failed
fi
### kill yesterdays solutions
if pgrep -u $USER -f "bin/crude-spread-queue " >/dev/null; then
pkill -u $USER -f "bin/crude-spread-queue "|| echo crude-spread-queue kill failed
fi
if pgrep -u $USER -f "bin/crude-spread-noblock " >/dev/null; then
pkill -u $USER -f "bin/crude-spread-noblock "|| echo crude-spread-noblock kill failed
fi
### done yesterdays
# traceroute& misc
if pgrep -u $USER -f "bin/trace.sh " >/dev/null; then
pkill -u $USER -f "bin/trace.sh " || echo trace kill failed
fi
......@@ -42,6 +32,34 @@ if pgrep -u $USER -f "bin/udp-buf-check" >/dev/null; then
pkill -u $USER -f "bin/udp-buf-check" || echo udp-buf-check kill failed
fi
### done yesterdays
### kill legacy solutions
if pgrep -u $USER -f "bin/crude-spread-queue " >/dev/null; then
pkill -u $USER -f "bin/crude-spread-queue "|| echo crude-spread-queue kill failed
fi
if pgrep -u $USER -f "bin/crude-spread-noblock " >/dev/null; then
pkill -u $USER -f "bin/crude-spread-noblock "|| echo crude-spread-noblock kill failed
fi
if pgrep -u $USER -f "bin/crude-ana-gz" >/dev/null; then
pkill -u $USER -f "bin/crude-ana-gz"|| echo crude-ana-gz kill failed
fi
if pgrep -u $USER -f 'tail.*crude-.*gz' >/dev/null; then
pkill -u $USER -f 'tail.*crude-.*gz'
fi
sleep 3 # give spread select a chance to end gracefully
if pgrep -u $USER -f "bin/qstream-gap-ana" >/dev/null; then
pkill -u $USER -f "bin/qstream-gap-ana" # to be sure if it does not die by the above
fi
gzip_pat='gzip.*microdep/data.*/crude-.*.gz'
if pgrep -u $USER -f "$gzip_pat" >/dev/null; then
pkill -u $USER -f "$gzip_pat" # to be sure if it does not die by the above
fi
# can't kill sudo
#pkill -f '/usr/sbin/tcpdump.* icmp'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment