Dal vostro browser salvate questo file come un file di testo e chiamatelo "monitor_test".
Utilizzate questo programma per testare il programma "procautostart". Per esempio:
procautostart -n 12 -c "monitor_test -d $HOME -a dummy_arg " nohup &
#!/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
bash$ tail -f monitor_test.log
bash$ ps -ef | grep monitor_test
Guardate il PID del monitor_test e terminatelo.
bash$ kill -9 < PID of monitor_test >