2012-08-16 4 views

답변

3

qstat -j jobId를 실행하면 필요한 정보가 있어야하는 "sge_o_workdir :"필드가있는 출력이 표시됩니다. 예를 들어 jobID가 1234이면 명령은 다음과 같습니다.

qstat -j 1234 

출력은 다음과 같습니다.

============================================================== 
job_number:     1234 
exec_file:     job_scripts/1234 
submission_time:   Wed Oct 10 19:00:03 2012 
owner:      user 
uid:      1000 
group:      group 
gid:      1000 
sge_o_home:     /home/user 
sge_o_log_name:    user 
sge_o_path:     /usr/local/packages/sge-root/bin/lx24-amd64:/usr/bin:/bin 
sge_o_shell:    /bin/sh 
sge_o_workdir:    /path/to/workDir 
sge_o_host:     host 
account:     sge 
stderr_path_list:   NONE:NONE:/path/to/error/ 
mail_list:     
notify:      FALSE 
job_name:     myJobName 
stdout_path_list:   NONE:NONE:/path/to/output/ 
jobshare:     0 
hard_queue_list:   all.q 
env_list:     
script_file:    /some/script.sh 
project:      
usage 1:     cpu=00:28:22, mem=83.71677 GBs, io=252.35721, vmem=234.090M, maxvmem=256.438M 
scheduling info:    
관련 문제