# submit a job after a set of jobs are completed
job_ids=("job_1" "job_2")
hold_jid=$(IFS=,; echo "${job_ids[*]}")
qsub -hold_jid "${hold_jid}" your_new_job_script.sh

# list all the active jobs
qstat
qstat -u user

# refresh list every 2 seconds
watch -n 2 qstat -u user

# kill job
qdel JOB-ID