printf("%spbs_scheduler : %s\n", ind, stat.pbs_scheduler);
printf("%spbs_dest_host : %s\n", ind, stat.pbs_dest_host);
printf("%spbs_pid : %d\n", ind, stat.pbs_pid);
+ printf("%spbs_resource_usage : %s%s\n", ind,
+ (stat.pbs_resource_usage) ? "\n" : "", stat.pbs_resource_usage);
printf("%spbs_exit_status : %d\n", ind, stat.pbs_exit_status);
printf("%spbs_error_desc : %s%s\n", ind,
(stat.pbs_error_desc) ? "\n" : "", stat.pbs_error_desc);
rep(js->pub.pbs_state, "C");
}
if (USABLE_DATA(res)) {
- /*
- XXX: do we want this info in status?
char *new_resource_usage;
- asprintf(&new_resource_usage,"%s%s%s = %d [%s]",
+ asprintf(&new_resource_usage,"%s%s\t%s = %d [%s]",
(js->pub.pbs_resource_usage) ? js->pub.pbs_resource_usage : "",
(js->pub.pbs_resource_usage) ? "\n": "",
e->PBSResourceUsage.name,
if (js->pub.pbs_resource_usage) free(js->pub.pbs_resource_usage);
js->pub.pbs_resource_usage = new_resource_usage;
- */
}
break;
case EDG_WLL_EVENT_PBSERROR:
string pbs_scheduler Name of pbs scheduler
string pbs_dest_host Hostname of node where job is running
int pbs_pid PID of running job
+string pbs_resource_usage Glued resource usage
int pbs_exit_status Job exit status
string pbs_error_desc Glued error descriptions from error events