using ps to grep for processes instead