Hi,
You should use just “-f” option instead of “-x” option, it will work.
“man” page for “pkill” explains that:
“-f” :- The pattern is normally only matched against the process name. When -f is set, the full command line is used.
“-x” :- Only match processes whose name (or command line if -f is specified) exactly match the pattern.
Regards,
Team MONyog