+ if (TERM_catch) {
+ /*
+ * log the names of the unresponsive tasks
+ */
+ for (p = allproc.lh_first; p; p = p->p_list.le_next) {
+ if (p->p_shutdownstate == 1)
+ printf("%s[%d]: didn't act on SIGTERM\n", p->p_comm, p->p_pid);
+ }
+ IOSleep(1000 * 5);
+ }