Edit the /lib/svc/method/svc-mdmonitor script to add a time interval for periodic checking.
Become superuser.
Open the /lib/svc/method/svc-mdmonitor script in the editor of your choice. Locate the following section in the script:
$MDMONITORD
error=$?
case $error in
0) exit 0
;;
*) echo "Could not start $MDMONITORD. Error $error."
exit 0
|
Change the line that starts the mdmonitord command by adding a -t flag and the number of seconds between checks.
|
|
$MDMONITORD -t 3600
error=$?
case $error in
0) exit 0
;;
*) echo "Could not start $MDMONITORD. Error $error."
exit 0
;;
esac
|
Restart the mdmonitord command to activate your changes.
# svcadm restart system/mdmonitor |
For more information, see the mdmonitord(1M) man page.