719 |
} |
} |
720 |
} |
} |
721 |
} |
} |
722 |
|
{ |
723 |
|
Dependant_T d; |
724 |
|
for(d= p->dependantlist; d; d=p->dependantlist->next) { |
725 |
|
if(d->dependant != NULL) { |
726 |
|
out_print(res,"<tr><td>Dependant Process </a></td>" |
727 |
|
"<td> <a href=%s> %s </a></td></tr>", |
728 |
|
d->dependant, d->dependant); |
729 |
|
} |
730 |
|
if(d->next == NULL) |
731 |
|
break; |
732 |
|
} |
733 |
|
} |
734 |
out_print(res, "</table>"); |
out_print(res, "</table>"); |
735 |
out_print(res, "<table cellspacing=16><tr nowrap><td><font size=+1>"); |
out_print(res, "<table cellspacing=16><tr nowrap><td><font size=+1>"); |
736 |
/* Start program */ |
/* Start program */ |
757 |
|
|
758 |
FILE *out= res->outputstream; |
FILE *out= res->outputstream; |
759 |
pid_t pid= -1; |
pid_t pid= -1; |
760 |
|
Dependant_T d; |
761 |
|
|
762 |
res->is_committed= TRUE; |
res->is_committed= TRUE; |
763 |
|
|
774 |
pi->mem_percent/10.0,pi->mem_kbyte); |
pi->mem_percent/10.0,pi->mem_kbyte); |
775 |
|
|
776 |
free(uptime); |
free(uptime); |
777 |
|
|
778 |
|
for(d= p->dependantlist; d; d=p->dependantlist->next) { |
779 |
|
fprintf(out, "\tDependant Process: %s\n", d->dependant); |
780 |
|
if(d->next == NULL) |
781 |
|
break; |
782 |
|
} |
783 |
|
|
784 |
} else { |
} else { |
785 |
|
|