#!/bin/sh
# 
# @DEC_COPYRIGHT@
#
# HISTORY
# $Log: evmlog_mon.sh,v $
# Revision 1.1.1.1  2003/12/11 15:40:53  ajay
# Importing Evm sources.
#
# Revision 1.1.1.1  2002/09/12 15:43:58  lsn
# EVM source - Linux initial version
#
# Revision 1.1.10.1  2001/09/26  18:58:38  Anthony_Hoffman
# 	redo of wildcatos submits
#
# Revision 1.1.8.1  2001/07/30  18:08:36  Anthony_Hoffman
# 	wc.evm.002.portability
#
# Revision 1.1.4.3  1998/09/17  19:14:58  Bruce_Gayliard
# 	EVM shared sandbox drop to steel BL 19.
# 	[1998/09/16  13:22:28  Bruce_Gayliard]
#
# Revision 1.1.2.3  1998/09/13  21:14:43  Jem_Treadwell
# 	QAR 63983 - use evminfo for vendor/product string
# 	[1998/09/13  21:14:10  Jem_Treadwell]
# 
# Revision 1.1.2.2  1998/01/02  17:39:42  Jem_Treadwell
# 	Initial submit
# 	[1998/01/02  17:39:13  Jem_Treadwell]
# 
# $EndLog$
# 
# @(#)$RCSfile: evmlog_mon.sh,v $ $Revision: 1.1.1.1 $ (DEC) $Date: 2003/12/11 15:40:53 $
# 

#
# This EVM channel monitor script simply posts an EVM mark event
# each time it is called.  If the "-init" option is supplied,
# it posts the mark initialization event.
# 

VP=`evminfo -vp` # Get the system vendor/product prefix

EVENT=${VP}.evm.mark

if [ "$1" = "-init" ]
then
    EVENT=${EVENT}.init
fi

echo "event { name $EVENT }" | evmpost
