|
|
**Batch Queuing Commands**
|
|
|
# Batch Queuing Commands
|
|
|
|
|
|
The following commands give an overview of the most important SGE commands please read the sge_intro manual with the command : man sge_intro
|
|
|
|
|
|
|
|
|
qsub Submit a job to the queue
|
|
|
|
|
|
|
|
|
qdel Cancel a queued or running job
|
|
|
|
|
|
|
|
|
qhold Place a queued job on hold
|
|
|
|
|
|
|
|
|
qstat Check the status of queued and running jobs
|
|
|
|
|
|
|
|
|
qstat -g c List all valid queue names
|
|
|
|
|
|
|
|
|
qstat -u “*” List all jobs for all users
|
|
|
|
|
|
|
|
|
qstat -ext Displays additional information for each job
|
|
|
|
|
|
|
|
|
qstat -ext -s p display extended information for my pending jobs
|
|
|
|
|
|
|
|
|
qstat -s prs Check jobs that are pending, running, or suspended
|
|
|
|
|
|
|
|
|
qstat -t Display the nodes where the job is running on
|
|
|
|
|
|
|
|
|
qalter Change parameters for job (give job id) waiting in queue
|
|
|
|
|
|
|
|
|
qacct -j <job_id> Report and account for Grid Engine usage, prints statistics for your job id
|
|
|
|
|
|
|
|
|
qconf -spl List all parallel environment available
|
|
|
|Command|Explanation|
|
|
|
|-------|-----------|
|
|
|
|qsub|Submit a job to the queue|
|
|
|
|qdel|Cancel a queued or running job|
|
|
|
|qhold|Place a queued job on hold|
|
|
|
|qstat|Check the status of queued and running jobs|
|
|
|
|qstat -g c|List all valid queue names|
|
|
|
|qstat -u “*”|List all jobs for all users|
|
|
|
|qstat -ext|Displays additional information for each job|
|
|
|
|qstat -ext -s p|display extended information for my pending jobs|
|
|
|
|qstat -s prs|Check jobs that are pending, running, or suspended|
|
|
|
|qstat -t|Display the nodes where the job is running on|
|
|
|
|qalter|Change parameters for job (give job id) waiting in queue|
|
|
|
|qacct -j <job_id>|Report and account for Grid Engine usage, prints statistics for your job id|
|
|
|
|qconf -spl|List all parallel environment available|
|
|
|
|