A list of useful PBS Pro commands can be found below.
If HPC users would like more information, a very useful PBS Pro User Guide (320 pages) can be found at http://www.pbsworks.com/documentation/support/PBSProUserGuide11.2.pdf and a PBS Pro reference guide (592 pages) can also be found at http://www.pbsworks.com/documentation/support/PBSProRefGuide11.1.pdf.
|Submit a job||Submits the job "myjob" for the execution.|
|Show status of batch jobs||Show the status of all the jobs submitted by the user bellj (Jason Bell).|
|Delete a job||Deletes the job with job id 3221.|
|Alter a job's attributes||Changes the attributes of the job 230.|
|Place a hold on a job to keep it from being scheduled for running||Puts the user hold on job 54.|
|Move a job to a different queue or server||Moves job 43 from original queue to test_queue ( may require privileges).|
|Append a message to the output of an executing job||Writes the message to the output file of job 54.|
|Terminate an executing job and return it to a queue||Terminates the running job 54 and returns it into the queue.|
|Remove a hold from a job||Releases the user type hold from the job 54.|
|Obtain a list of jobs that meet certain criteria||Gives a list of jobs that are owned by user barry and have used cpu's > 16.|
|Send a signal to an existing job||This command would send kill signal to the job 34.|
|GUI front to PBS commands||Runs the GUI interface to the PBS.|
Declares that the job is to be run "interactively".
Default: Run in a batch job, if the option is not specified.
Default n, or if the option is not specified, standard output and standard error are two separate files
The name of the file for standard output.
Default: job_name.osequence_number if the option is not specified.
The name of the file for standard error.
Default: job_name.esequence_number if the option is not specified.
Mail is sent:
Default n or if option is not specified: no mail is sent.
List of users for the option -m.
Give here mail address(es).
Default: job owner if unset.
The job name.
Default: is based on the name of the job script if the option is not specified, STDIN if no script and it was read from standard input.
|Destination of the job. destination names a queue, a server or a queue at a server|
|Environment variables exported to the job. variable_list is a comma separated list of the form variable or variable=value|
|All environment variables in the qsub command's environment are to be exported to the batch job.|
|Displays all jobs|
|Displays full status of jobs|
|Displays all jobs in alternative format|
|Displays jobs (non-running mainly) in alternative format|
|Displays jobs (mainly running and suspended)|
|In addition to the basic information, nodes allocated to a job are listed|
|Displays jobs of a user or users|
|Status of queues|
|Full status of queues (configuration also)|
|Status of queues in the alternative format|
|Batch server status|
|Full batch server status (configuration also)|
Job identifiers, queue names, PBS server names or named queues on named servers can be given as additional operands for these options. These restrict displayed information only to these items. For more information about these operands and the qstat command see the manual page qstat(1B).
Job status is displayed by the command qstat without options, or in an alternative format by using, e.g. the options -a, -i, -r, -n and -u without -f.
When option -f is included, full job status, i.e., attributes including requested and used (if job is running) resources, is displayed.
Queue status is displayed by options -q and -Q. Full queue status, i.e., queue attributes including resources (minimum and maximum limits and defaults), is displayed with options -Q -f.
Server status is displayed by the option -B.
Full server status, i.e., server attributes including resources (limits and defaults), is shown by options -B -f.