From your browser save this file as text-file named as 'monitor_test'.
Use this program for testing the 'procautostart' program. For example -
procautostart -n 12 -c "monitor_test -d $HOME -a dummy_arg "
#!/bin/ksh
# Program to test the procautostart
echo "Started the monitor_test ...."
date > monitor_test.log
while :
do
date >> monitor_test.log
sleep 2
done