#!/usr/bin/ksh
# ESOAfrlProc
# Surveillance des process Netscape de AFRL
# systeme : solaris 2.5.1
#
# 08/04/98	ISD-12153/H. Baylou
#
if [ -f /afrgbrf0/logiciel/netscape/suitespot/https-afrgbrf0/LOCK ]
then 
    /logiciel/OpC/opcmon ESO_HttpsAfrlProc=`/usr/bin/ps -aef | /usr/bin/grep https-afrgbrf0 | /usr/bin/grep -vc grep`
else
    /logiciel/OpC/opcmon ESO_HttpsAfrlProc=2
fi


if [ -f /afrgbrf0/logiciel/netscape/suitespot/LOCK ]
then
	/logiciel/OpC/opcmon ESO_Admin3AfrlProc=`/usr/bin/ps -aef | /usr/bin/grep ns-admin | /usr/bin/grep suitespot| /usr/bin/grep -vc grep`
else
	/logiciel/OpC/opcmon ESO_Admin3AfrlProc=2
fi
