mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
11 lines
No EOL
266 B
Bash
Executable file
11 lines
No EOL
266 B
Bash
Executable file
#!/bin/sh
|
|
|
|
for i in `ps -o pid,command ax | grep celery | awk '!/awk/ && !/grep/ {print $1}'`
|
|
do
|
|
if [ "${i}" != "" ]; then
|
|
print "Killing: ${i}";
|
|
kill -9 ${i};
|
|
fi
|
|
done
|
|
|
|
# ps aux | grep celery | egrep -v grep | awk '{print $2}' | xargs kill -9 |