I have a long running Torque/PBS job and I\'d like to monitor output. But log file only gets copied after the job is finished. Is there a way to convince PBS to refresh it
In case you submit a shell script you may also put these two commands in the beginning of the script.
exec 1>file.stdout exec 2>file.stderr
This will put the output from stdout and stderr in the working directory of your job.