Array Job
# Submit
$ Echo ' sleep ' | qsub-j 1-10
# query
$ qstat-x-t-j-w-u Admin
$ qstat-x-F 15[]
$ qstat-x -F 15[1]
# printjob command can only view the whole array job information and cannot view information for a specific array job
# PrintJob 15[]
General Job Details
$ qstat-x-F 8 Job id:8.pbsmaster job_name = STDIN Job_owner = Admin@pbsmaster Resources_used.cpupercent = 0 Resources_used.cput = 00:00:00 Resources_used.mem = 3188kb Resources_used.ncpus = 1 Resources_used.vmem = 32360kb Resources_used.walltime = 00:02:04 job_state = F Queue = WORKQ Server = Pbsmaster Checkpoint
= u CTime = Mon Oct 03:45:56 2016 Error_path = Pbsmaster:/home/admin/stdin.e8 Exec_host = PBSMASTER/1 Exec_vnode = (pbsmaster:ncpus=1) hold_types = n Join_path = n keep_files = n mail_points = a mtime = M On Oct 03:48:00 2016 Output_path = Pbsmaster:/home/admin/stdin.o8 Priority = 0 qtime = Mon Oct 10 03:45:56 2016 rerunable = True Resource_list.ncpus = 1 Resource_list.nodect = 1 Resource_list.place = Pack Reso Urce_list.select = 1:ncpus=1 Schedselect = 1:ncpus=1 stime = Mon Oct 03:45:56 2016 session_id = 1488 Jo Bdir =/home/admin SUbstate = Variable_list = Pbs_o_home=/home/admin,pbs_o_lang=en_us. UTF-8, Pbs_o_logname=admin, Pbs_o_path=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/pbs/bin:/home /admin/.local/bin:/home/admin/bin, Pbs_o_mail=/var/spool/mail/admin,pbs_o_shell=/bin/bash, PBS_O_WORKDIR=/home/ ADMIN,PBS_O_SYSTEM=LINUX,PBS_O_QUEUE=WORKQ, Pbs_o_host=pbsmaster euser = admin Egroup = Admin Hashname = 8.P Bsmaster Queue_rank = 4 Queue_type = E Comment = Job run at Mon Oct (03:45) and fin Ishe d etime = Mon Oct 03:45:56 2016 Run_count = 1 Stageout_status = 1 exit_status = 0 History_ti Mestamp = 1476071280 Project = _pbs_project_default run_version = 1
Array Job Details
$ qstat-x-F 9[] Job id:9[].pbsmaster job_name = STDIN Job_owner = Admin@pbsmaster job_state = f queue = WORKQ Server = Pbsmaster Checkpoint = u CTime = Mon Oct 09:39:33 2016 = Error_path min/stdin.e9.^array_index^ hold_types = n Join_path = n keep_files = n mail_points = a mtime = Mon Oct 09:45:30 2016 Output_path = pbsmaster:/home/admin/stdin.o9.^array_index^ Priority = 0 qtime = Mon Oct 10 0
9:39:33 2016 rerunable = True Resource_list.ncpus = 1 Resource_list.nodect = 1 Resource_list.place = Pack Resource_list.select = 1:ncpus=1 Schedselect = 1:ncpus=1 Substate = a variable_list = pbs_o_home=/home/ad Min,pbs_o_lang=en_us. UTF-8, Pbs_o_logname=admin, Pbs_o_path=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/pbs/bin:/home /admin/.local/bin:/home/admin/bin, Pbs_o_mail=/var/spool/mail/admin,pbs_o_shell=/bin/bash, PBS_O_WORKDIR=/home/ admin,pbs_o_sYSTEM=LINUX,PBS_O_QUEUE=WORKQ, Pbs_o_host=pbsmaster euser = admin Egroup = Admin Queue_rank = 5 Queue_ty PE = E Comment = Job Array began at Mon Oct at 09:39 and terminated etime = Mon Oct a 09:39:33 2016 Ut_status = 0 Exit_status = 0 submit_arguments =-j 1-10 array = True Array_state_count = queued:0 running:0 exiting:0 expired:0 array_indices_submitted = 1-10 History_timestamp = 1476092730 Project = _pbs_project_default $ qst At-x-F 9[1] Job id:9[1].pbsmaster job_name = STDIN Job_owner = Admin@pbsmaster job_state = f queue = W ORKQ Server = Pbsmaster Checkpoint = u CTime = Mon Oct 09:39:33 2016 = Error_path /stdin.e9.^array_index^ hold_types = n Join_path = n keep_files = n mail_points = a mtime = Mon Oct 10 09:45:30 2016 Output_path = pbsmaster:/home/admin/stdin.o9.^array_index^ Priority = 0 qtime = Mon Oct 10 09:3
9:33 2016 rerunable = True Resource_list.ncpus = 1 Resource_list.nodect = 1 Resource_list.place = Pack resource_l Ist.select = 1:ncpus=1 Schedselect = 1:ncpus=1 Substate = a variable_list = Pbs_o_home=/home/admin,pbs_o_lang =en_us. UTF-8, Pbs_o_logname=admin, Pbs_o_path=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/pbs/bin:/home /admin/.local/bin:/home/admin/bin, Pbs_o_mail=/var/spool/mail/admin,pbs_o_shell=/bin/bash, PBS_O_WORKDIR=/home/
ADMIN,PBS_O_SYSTEM=LINUX,PBS_O_QUEUE=WORKQ, Pbs_o_host=pbsmaster euser = admin Egroup = Admin Queue_rank = 5 Queue_type = E Comment = subjob finished etime = Mon Oct 09:39:33 2016 = 0 Stageout_status ATUs = 0 submit_arguments =-j 1-10
Reprint please link the form to indicate this article link
This article link: http://blog.csdn.net/kongxx/article/details/52794280