What command will you use to submit your PBS batch script ($SCRIPTNAME) with torque?
qrun $SCRIPTNAME
qsub $SCRIPTNAME
qstat $SCRIPTNAME
qalter $SCRIPTNAME
./$SCRIPTNAME
Using manual of torque commands and your knowledge write a short shell (bash/sh/tcsh/…) script which show hostname of worker node the job is running. Resources info to take for PBS are: 1 worker node with 1 processor, 100MB RAM per processor, 5min walltime. The jobname to set is 'HostnameCheck'.