|
|
||
|
||
|
|
| Red Hat Documentation |
7. Testing the program - monitor_testFrom 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 "
Here procautostart will be checking the process monitor_test every 12 seconds.
#!/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
Next Previous Contents |
|
|