#!/bin/bash ps -eF | grep test | grep php | grep -v grep | awk '{print $2}' | xargs kill rm *.txt