#!/bin/tcsh

# used to show time stamp
alias tsecho 'echo `date "+%Y/%m/%d %H:%M:%S"` = '


tsecho list CalibExe from ls
ls -latr --full-time CalibExe.*

tsecho list CalibExe from ps
ps -U `id -un` uwww | grep CalibExe

setenv pid `ls -tr CalibExe.* | tail -n 1 | awk -F. '{print $2}'`
tsecho kill CalibExe, pid = ${pid}
kill -9 ${pid}

exit 0

