def find_and_kill_process(process_line, child_process=False):

    pid = find_process_pid(process_line, child_process)
    kill_process(pid)
Find a process and kill it
dataset/ETHPy150Open datastax/cstar_perf/tool/cstar_perf/tool/scripts/utils.py/find_and_kill_process