#!/usr/bin/ksh
# ESOEDMProc
# Surveillance des process edm (produit gestion des sauvegardes et restaurations)
# systeme : SUN
#
# 20/03/98	ESI/UNIX-12151/F.Joliet
# 28/07/1999    ISD/SSD/S.GISLAIN
#
# /opt/OV/bin/OpC/opcmon ESO_EDMProc=`/usr/bin/ps -e | /usr/bin/grep offsite_0 grep`
# /opt/OV/bin/OpC/opcmon ESO_EDMProc=`/usr/bin/ps -e | /usr/bin/grep offline_0 grep`
# /opt/OV/bin/OpC/opcmon ESO_EDMProc=`/usr/bin/ps -e | /usr/bin/grep notd | /usr/bin/grep -d grep`
# /opt/OV/bin/OpC/opcmon ESO_EDMProc=`/usr/bin/ps -e | /usr/bin/grep at_dlt_6176_0 grep`
#
#/logiciel/OpC/opcmon $1=`ps -e|grep -c offsite_0`
#/logiciel/OpC/opcmon $1=`ps -e|grep -c offline_0`
#
/logiciel/OpC/opcmon $1=`ps -edf|egrep -c "([o]ffsite_0|[o]ffline_0|[e]bfsd|[e]bcatalogd)"`
