#!/bin/sh
set -x
# start up our sample process...
./maxtime 30 ./fodder &
fodder_pid=$!
sleep 2

# start tracing the sample process..
truss -p $fodder_pid > /dev/null 2>&1 &
trace_pid=$!
sleep 2

# kill -STOP'ing the trace process, should make the sample process
# unkill'able
kill -STOP $trace_pid

echo fodder process should now be extant, in stasis, and unkillable