[SGE] Eqw re-run
$ qsub test.sh
job-ID prior name user state submit/start at queue slots ja-task-ID
--------------------------------------------------------------------------------------------------------
298278 0.26086 test.sh isbyeon Eqw 04/21/2011 15:13:01 1
298281 0.26086 test.sh isbyeon Eqw 04/21/2011 15:13:01 1
298284 0.26086 test.sh isbyeon Eqw 04/21/2011 15:13:02 1
298287 0.26086 test.sh isbyeon Eqw 04/21/2011 15:13:02 1
$ qstat -u isbyeon | grep Eqw | awk '{print $1}'
298278
298281
298284
298287
$ qmod -cj `qstat -u isbyeon | grep Eqw | awk '{print $1}'`
isbyeon@pgpcluster.local cleared error state of job 298278
isbyeon@pgpcluster.local cleared error state of job 298281
isbyeon@pgpcluster.local cleared error state of job 298284
isbyeon@pgpcluster.local cleared error state of job 298287
$ qstat -f -u "isbyeon"
job-ID prior name user state submit/start at queue slots ja-task-ID
--------------------------------------------------------------------------------------------------------
298278 0.26086 test.sh isbyeon qw 04/21/2011 15:13:01 1
298281 0.26086 test.sh isbyeon qw 04/21/2011 15:13:01 1
298284 0.26086 test.sh isbyeon qw 04/21/2011 15:13:02 1
298287 0.26086 test.sh isbyeon qw 04/21/2011 15:13:02 1