You can monitor the progress of a batch job by viewing it’s standard error and standard output. The output is written to two files which are located in a directory called .pbs_spool. Only running jobs will have files in this directory. The .pbs_spool directory is “hidden” similar to hidden folders in Windows. The “.” must be included in the directory name .pbs_spool.
To view these using using point-and-click:
Open the File Manager and set View -> Show Hidden Files. Next, find the .pbs_spool directory, and then open the ER or OU file using the text editor (right mouse button -> open with -> MousePad).
To monitor these files in real-time
Enter the following command in a terminal window:
tail -f .pbs_spool/[JOB_ID].jman.ER
or
tail -f .pbs_spool/[JOB_ID].jman.OU
Or alternately…
cd .pbs_spool tail -f [JOB_ID].jman.ER
Where JOB_ID is the running job’s ID number.
If a job has completed
After a job completes, these files are moved to the working directory for that job and renamed to [pbs_script].e[JOB_ID] and [pbs_script].o[JOB_ID]. For example:
run.pbs.e345672 run.pbs.o345672