qstat for checking job status
The command qstat is used to check the status of your submitted jobs. The simplest usage is
which would give information similar to the following:
$ qstat -a
This shows you job id, job owner, the queue where each job is in, the name of each job, job session id, number of node(s) of each job runs on, number of cores (tsk) of each job and memory size of each job takes, requested walltime, the status of each job (R corresponds to running, Q corresponds to in queue ), and the time consumed by each job.
qdel for cancelling a job
To cancel a PBS job, enter the following command.
$ qdel 589
will delete the job with job id 589
Other useful PBS commands