# # Get job info from blackforest by grepping in the dir ~sysmon/logs # echo " " date set sysdir = /home/blackforest/sysmon/logs # # Get most recent log file: # set logfiles = `rsh blackforest ls -t $sysdir` set logfile = $sysdir/$logfiles[1] echo logfile = $logfile # # Grep on logname and pipe to tail: # rsh blackforest fgrep $LOGNAME $logfile | tail -20