[torqueusers] How do I track what's going on during a job'sexecution

Craig Macdonald craigm at dcs.gla.ac.uk
Mon Feb 26 10:43:01 MST 2007

You handle output yourself, ie in the job, put /var/log/torque-$PBS_JOBID.log

Or alternatively, let torque put the log file where it wants, then use
the qpeek utility which is included in the contrib folder of Torque.


-----Original Message-----
From: torqueusers-bounces at supercluster.org on behalf of Motin
Sent: Mon 2/26/2007 4:04 AM
To: torqueusers at supercluster.org
Subject: [torqueusers] How do I track what's going on during a job'sexecution
First of all, I simply love Torque and how well it handles, queues and
preocesses my jobs.

Seeing X amount of jobs on queue with 1 running with the help of qstat
is ok to check overall progress, but I'd really like to tap in on the
executing command's stdout output to see what's going on at the moment.

I have tried the following:

echo "echo test1 && sleep 10 && echo test2 && sleep 10" | qsub -o
/var/log/torque.log -j oe
echo "echo test3 && sleep 10 && echo test4 && sleep 10" | qsub -o
/var/log/torque.log -j oe

But problems are:
1) torque.log is overwritten and not appended to for each knew job
2) torque.log is not written to before the job is finished, making it
impossible to track progress of executing command if the command outputs
progress information etc

If you have any recommendation I am eager to hear it. All tips appreciated!

torqueusers mailing list
torqueusers at supercluster.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20070226/a6745d62/attachment.html

More information about the torqueusers mailing list