Monitoring PBS Batch Jobs
You can monitor jobs through the Electronics Desktop user interface, or through the command line.
The suggestions below are for batch jobs run under PBS.
PBS qstat Command
The PBS qstat command
may be used to display information on jobs and queues. In this section,
several qstat command line options that may be used to monitor job progress
are described.
- The
qstat -acommand displays information about all jobs in the system. - The
qstat -rcommand displays information about all running jobs in the system. - The
qstat -scommand resembles theqstat -rcommand; the only difference is that a comment from the scheduler or batch administrator is also shown for each job. - The
qstat -au useridcommand displays information about all jobs owned by user userid. - The
qstat -f jobidcommand displays all available information about the job with id jobid.
See the PBS manual pages for more information.
Ansys Electromagnetics -monitor Command Line Option for PBS
The Ansys Electromagnetics -monitor
command line option enables batch job output to the standard output
and standard error streams. The warning, info, and progress messages
are sent to the standard output stream. The error and fatal messages
are sent to the standard error stream.
The PBS scheduler redirects the standard output and standard
error streams of batch jobs to files specified in the qsub -o [hostname:]pathname and the -e [hostname:]pathname command line
options, respectively. If either option is not specified, then the associated
stream is redirected to the default file pathname for that stream.
The qsub -j join
option controls whether the standard error stream for the job will be
merged with the standard output stream for the job. A join value of oe indicates that the interleaved standard
output and standard error will be sent to the standard output file or
stream. A join value of oe indicates
that the interleaved standard output and standard error will be sent
to the standard error file or stream. A join value of n indicates that
the standard output and standard error streams will not be joined. If
the qsub -j join option is not
specified, then the standard error and standard output streams will not
be joined.
A user can monitor the progress of a job by checking the standard output file for progress, info and warning messages, and checking the standard error file for error and fatal messages.