#!/bin/bash pid=$1 echo "Watchdog started! pid " $pid sleep 2m echo "Watchdog expired! Killing "$pid kill -9 $pid