Listing 1. Sample GNQS Commands
#Create a batch processing queue:
qmgr create batch_queue web-queue
#Submit a job
qsub -q web-queue <<EOF
command -args data
EOF
#View queue status
qmgr show queue
web-queue@webserver; type=BATCH; [ENABLED, INACTIVE]; pri=16 lim=1
0 exit; 0 run; 0 stage; 0 queued; 0 wait; 0 hold; 0 arrive;
#Create a network queue on webserver.genome, run<\n>
#on two cpu servers, round robin load balanced
qmgr create pipe_queue web-queue
add [email protected],[email protected] web-queue
set lb_out web-queue
(on each cpu server)
qmgr create batch_queue job-queue run_limit=1
set lb_in job-queue
qmgr set scheduler webserver.genome