From: Jan Pospíšil Date: Tue, 12 Jun 2007 16:09:06 +0000 (+0000) Subject: updated condor stuff X-Git-Tag: glite-lb-common_R_5_1_2_2~6 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=0ba5fa4f5e0e06c152aa8251d4c5eb44cb9e26f2;p=jra1mw.git updated condor stuff --- diff --git a/org.glite.lb.client/examples/job_status.c b/org.glite.lb.client/examples/job_status.c index c38eae0..ccf42f8 100644 --- a/org.glite.lb.client/examples/job_status.c +++ b/org.glite.lb.client/examples/job_status.c @@ -213,6 +213,9 @@ static void printstat(edg_wll_JobStat stat, int level) case EDG_WLL_STAT_PBS: printf("%sjobtype : PBS\n", ind); break; + case EDG_WLL_STAT_CONDOR: + printf("%sjobtype : CONDOR\n", ind); + break; default: break; } @@ -297,6 +300,20 @@ static void printstat(edg_wll_JobStat stat, int level) printf("%spbs_error_desc : %s%s\n", ind, (stat.pbs_error_desc) ? "\n" : "", stat.pbs_error_desc); } + /* CONDOR state section */ + if (stat.jobtype == EDG_WLL_STAT_CONDOR) { + printf("%scondor_status : %s\n", ind, stat.condor_status); + printf("%scondor_universe : %s\n", ind, stat.condor_universe); + printf("%scondor_owner : %s\n", ind, stat.condor_owner); + printf("%scondor_shadow_pid : %d\n", ind, stat.condor_shadow_pid); + printf("%scondor_shadow_exit_status : %d\n", ind, stat.condor_shadow_exit_status); + printf("%scondor_starter_pid : %d\n", ind, stat.condor_starter_pid); + printf("%scondor_starter_exit_status : %d\n", ind, stat.condor_starter_exit_status); + printf("%scondor_job_pid : %d\n", ind, stat.condor_job_pid); + printf("%scondor_job_exit_status : %d\n", ind, stat.condor_job_exit_status); + printf("%scondor_reason : %s\n", ind, stat.condor_reason); + printf("%scondor_error_desc : %s\n", ind, stat.condor_error_desc); + } printf("\n");