#!/bin/csh -f #H# kills the monitoring started by mon set OS=`uname -s` if ("$OS" == "Linux") then killall xtail endif if ("$OS" == "OpenBSD") then kill `ps -xauwww | grep tcpdump | grep -v grep | awk '{print $2}'` kill `ps -xauwww | grep xtail | grep -v grep | awk '{print $2}'` endif