G
G
gh0st_d0g2018-10-21 12:40:51
PHP
gh0st_d0g, 2018-10-21 12:40:51

How to kill unused gearman functions?

The essence of the issue is that there is gearman 1.1.8 in it, it is necessary to kill unused functions. How can this be done in CentOS?

for MATCH in $(echo status | nc 127.0.0.1 4730 | grep -v \\. | grep -Pv '^[^\t]+\t0\t' | cut -s -f 1-2 --output- delimiter=\,);
do
gearman -n -w -f ${MATCH%\,*} -c ${MATCH#*\,} > /dev/null;
done
this option doesn't work

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question