#users root::::PRM_SYS
#application records
/opt/math/bin/tool::::math_dept,num_cruncher,print_answer /usr/local/games/tetris::::computer_dept
EOF1
fi
# is PRM turned on?
/opt/prm/bin/prmconfig 2> /dev/null > /dev/null if [ “$?”
then
# need to initialize PRM
/opt/prm/bin/prmconfig
then
echo “WARNING : prmconfig
fi else
# make sure it has my group
/opt/prm/bin/prmconfig grep math_dept > /dev/null 2> /dev/null if [ “$?”
then
echo “WARNING : conflicting PRM already running on $UNAME” return 0
else
#log the initial configuration /opt/prm/bin/prmconfig
fi
fi
else
# no luck. PRM not installed
echo “PRM not installed on $UNAME” return 0
fi
return 0
}
For information on setting up Serviceguard, see the manual Managing ServiceGuard.
128 Using PRM with Serviceguard