858 |
case RESOURCE_ID_CHILDREN: |
case RESOURCE_ID_CHILDREN: |
859 |
|
|
860 |
printf(" %-20s = If %s %ld for %d cycle(s) then %s " |
printf(" %-20s = If %s %ld for %d cycle(s) then %s " |
861 |
"else if recovered then %s", |
"else if recovered then %s\n", |
862 |
"Children", operatornames[q->operator], q->limit, q->max_cycle, |
"Children", operatornames[q->operator], q->limit, q->max_cycle, |
863 |
actionnames[a->failed->id], actionnames[a->passed->id]); |
actionnames[a->failed->id], actionnames[a->passed->id]); |
864 |
break; |
break; |
866 |
case RESOURCE_ID_TOTAL_MEM_KBYTE: |
case RESOURCE_ID_TOTAL_MEM_KBYTE: |
867 |
|
|
868 |
printf(" %-20s = If %s %ld for %d cycle(s) then %s " |
printf(" %-20s = If %s %ld for %d cycle(s) then %s " |
869 |
"else if recovered then %s", |
"else if recovered then %s\n", |
870 |
"Memory amount limit (incl. children)", |
"Memory amount limit (incl. children)", |
871 |
operatornames[q->operator], q->limit, q->max_cycle, |
operatornames[q->operator], q->limit, q->max_cycle, |
872 |
actionnames[a->failed->id], actionnames[a->passed->id]); |
actionnames[a->failed->id], actionnames[a->passed->id]); |
875 |
case RESOURCE_ID_TOTAL_MEM_PERCENT: |
case RESOURCE_ID_TOTAL_MEM_PERCENT: |
876 |
|
|
877 |
printf(" %-20s = If %s %.1f%% for %d cycle(s) then %s " |
printf(" %-20s = If %s %.1f%% for %d cycle(s) then %s " |
878 |
"else if recovered then %s", |
"else if recovered then %s\n", |
879 |
"Memory usage limit (incl. children)", |
"Memory usage limit (incl. children)", |
880 |
operatornames[q->operator], q->limit/10.0, q->max_cycle, |
operatornames[q->operator], q->limit/10.0, q->max_cycle, |
881 |
actionnames[a->failed->id], actionnames[a->passed->id]); |
actionnames[a->failed->id], actionnames[a->passed->id]); |