qstat kung fu
A user posted to the list looking for an efficient way of probing the designated output directory of active (pending or running) jobs.
Once again, Reuti comes up with a nice suggestion, this time employing a shell one-liner that pipes the output of a wildcard "qstat -j '*'" query through awk:
$ qstat -j "*" | awk ' /^job_number:/ { job_number=$2 } /^sge_o_workdir:/ \
{ print job_number, $2 } '
And like the original poster mentioned, I also had no idea that wildcards could be used with the "-j" option to qstat. Thanks Reuti!

XML Feeds