#!/usr/bin/ksh
# ESOAfrlProcShow
# Surveillance des process Netscape AFRL UK
# systeme : solaris 2.5.1
#
# 08/04/98	ISD-12153/H. Baylou
#
if [ -f /afrgbrf0/logiciel/netscape/suitespot/https-afrgbrf0/LOCK ]
then 
    echo "Enterprise Server AFRL :"
    if [ `ps -aef|grep https-afrgbrf0|grep -vc grep` -eq 2 ]
    then
        echo "ok process https"
    else
        echo "KO process https"
    fi
    echo
fi


if [ -f /afrgbrf0/logiciel/netscape/suitespot/LOCK ]
then 
    echo "Suitespot 3 :"
    if [ `ps -aef|grep ns-admin| grep suitespot |grep -vc grep` -eq 2 ]
    then
        echo "ok process ns-admin"
    else
        echo "KO process ns-admin"
    fi
    echo
fi
