PBS basic commands
Explore how to use basic PBS commands to manage computational jobs on HPC systems. Understand how to submit job scripts, monitor job status, modify job attributes, and remove jobs from the queue for effective workload control.
We'll cover the following...
We'll cover the following...
From the user’s perspective, the PBS allows to perform three actions:
- Add a job to the queue;
- Remove a job from the queue; and
- See where is your job is in the queue (stat).

| Command | Description |
|---|---|
qsub <job-script> |
Submit a job (add to queue) and returns a <job-number> |
qdel <job-number> |
Delete job (remove from the queue) |
qstat <job-number> |
Monitor jobs |
qalter <job-number> |
Modifies the attributes of the job or jobs |