Pointing out that SIGCONT would not return “operation not permitted” because there were no PID reference anymore.

]]>PROC=($(ls -1 /proc | grep [0-9]))

for P in ${PROC[@]}; do PROC=(${PROC[@]} $(ls -1 /proc/$P/task)); done

for i in {1..99999}; do FOUND=f; for P in ${PROC[@]}; do [ “$P” -eq “$i” ] && FOUND=t && break; done; [ “$FOUND” = “f” ] && [ -d /proc/$i ] && cat /proc/$i/cmdline; done;

[]’s

]]>