#!/bin/sh
# Sample supplied script to flag reaching a watermark level of license usage

# This script is automatically run whenever a user specified no of
# licenses is in use. The specification is contained in the user created
# file WATERMARK in the directory referenced by $COBDIR

# THIS SCRIPT WILL ONLY RUN IF OWNED BY ROOT AND IS NOT USER WRITEABLE

# The administrator may change this script to tailor to his/her needs. 
# Editable access to non-privileged users should not be allowed, since this
# script may be invoked by user processes with root permissions.

#-----------------------------------------------------------------------------

# Append into a watermark logfile
# if test ! -f /var/mfaslmf/waterlog
# then
#	touch /var/mfaslmf/waterlog
#	chmod 666 /var/mfaslmf/waterlog
# fi	
# echo `date`:Watermark reached  for $COBDIR >> /var/mfaslmf/waterlog
