#!/bin/bash

X=$1

ps fax | grep "/ser -f " | grep $X | awk '{}{print $0; ;system( "kill -9 " $1);}'