How do I check my job output while it is running?
Link to section 'Problem' of 'How do I check my job output while it is running?' Problem
After submitting your job to the cluster, you want to see the output that it generates.
Link to section 'Solution' of 'How do I check my job output while it is running?' Solution
There are two simple ways to do this:
- qpeek: Use the tool qpeek to check the job's output. Syntax of the command is:
qpeek <jobid>
- Redirect your output to a file: To do this you need to edit the main command in your jobscript as shown below. Please note the redirection command starting with the greater than (>) sign.
myapplication ...other arguments... > "${PBS_JOBID}.output"
tail "<jobid>.output"