431 |
Resource_T q; |
Resource_T q; |
432 |
Checksum_T c; |
Checksum_T c; |
433 |
Timestamp_T t; |
Timestamp_T t; |
434 |
|
Dependant_T d; |
435 |
|
|
436 |
ASSERT(p); |
ASSERT(p); |
437 |
|
|
440 |
printf(" %-20s = %s\n", "Pid file", p->pidfile); |
printf(" %-20s = %s\n", "Pid file", p->pidfile); |
441 |
printf(" %-20s = %s\n", "Monitoring mode", modenames[p->mode]); |
printf(" %-20s = %s\n", "Monitoring mode", modenames[p->mode]); |
442 |
if(p->start) |
if(p->start) |
443 |
printf(" %-20s = %s\n", "Start program", is_str_defined(p->start->arg[0])); |
printf(" %-20s = %s\n", "Start program", is_str_defined(p->start->arg[0])); |
444 |
if(p->stop) |
if(p->stop) |
445 |
printf(" %-20s = %s\n", "Stop program", is_str_defined(p->stop->arg[0])); |
printf(" %-20s = %s\n", "Stop program", is_str_defined(p->stop->arg[0])); |
446 |
|
|
447 |
for(c= p->checksumlist; c; c= c->next) { |
for(c= p->checksumlist; c; c= c->next) { |
448 |
|
|
450 |
|
|
451 |
} |
} |
452 |
|
|
453 |
|
for(d= p->dependantlist; d; d= d->next) |
454 |
|
if(d->dependant != NULL) |
455 |
|
printf(" %-20s = %s\n", "Dependant Process", d->dependant); |
456 |
|
|
457 |
if(! p->portlist) { |
if(! p->portlist) { |
458 |
|
|
459 |
printf(" %-20s = (not defined)\n", "Host:Port"); |
printf(" %-20s = (not defined)\n", "Host:Port"); |