#!/bin/sh
#ident "@(#)cmip_var	1.10 11/24/99 SMI"

# The variable DIR_OSIMCS_CORE is used to select the directory where osimcsd
#  will run. It is the directory where potential core files are generated
# POSSIBLE VALUES: a directory writeable by root
# DEFAULT  VALUE: /
export DIR_OSIMCS_CORE
DIR_OSIMCS_CORE=/

# Variables prefixed by "DUMP_" are related to the internal traces
# They normally should only be activated on request by SUN SUPPORT

# DUMP_OSIMCS_LEVEL contains the default trace level
#
# POSSIBLE VALUES are :
# Traces_Errors           1  /* Protocol Errors/user/.... */
# Traces_Warning          2  /* Potential problem detected */ 
#                            /*  resource limit reached .... */
# Traces_Functions_In     4  /* Entry in functions */
# Traces_Functions_Out    8  /* Exit from functions /  Return values */
# Traces_Debug           16  /* Useful Traces for DEBUG Analysis by SUPPORT */
#
# DEFAULT VALUE is 3 (Traces_Errors+Traces_Warning)
#
export DUMP_OSIMCS_LEVEL
DUMP_OSIMCS_LEVEL=3

#DUMP_OSIMCS_LEVEL_ALT contains the alternate trace level
# This value is applied if the osimcsd daemon receives the signal SIGUSR2
#
# POSSIBLE VALUES are combination a of:
# Traces_Errors           1  /* Protocol errors/user/.... */
# Traces_Warning          2  /* Potential problem detected */
#                            /* resource limit reached .... */
# Traces_Functions_In     4  /* Entry in functions */
# Traces_Functions_Out    8  /* Exit from functions /  Return values */
# Traces_Debug           16  /* Useful Traces for DEBUG Analysis in SUPPORT */
#
# DEFAULT VALUE is 15 (Traces_Errors+Traces_Warning+Traces_Functions_In
#                     +Traces_Functions_Out)
#
export DUMP_OSIMCS_LEVEL_ALT
DUMP_OSIMCS_LEVEL_ALT=15

#DUMP_OSIMCS_OPERATOR is activated by default.
# This variable determines whether data is sent to cmiptrace or cmipoper,...
# POSSIBLE VALUES: YES/NO
# DEFAULT  VALUE: YES
export DUMP_OSIMCS_OPERATOR
DUMP_OSIMCS_OPERATOR=YES

#DUMP_OSIMCS_REGUL_DUMP determines whether osimcs regularly dumps the internal
# traces in a file
# POSSIBLE VALUES: YES/NO
# DEFAULT  VALUE: NO
export DUMP_OSIMCS_REGUL_DUMP
DUMP_OSIMCS_REGUL_DUMP=NO

# DUMP_OSIMCS_INTERNAL determines whether internal traces are activated and
# available in a core file/ dump file /....
# POSSIBLE VALUES: YES/NO
# DEFAULT  VALUE: NO
export DUMP_OSIMCS_INTERNAL
DUMP_OSIMCS_INTERNAL=NO

#DUMP_OSIMCS_SIZE is the size of the internal buffer (in octets) containing 
# the internal traces
# POSSIBLE VALUES: any value between 50000 and 20000000
# DEFAULT  VALUE: 50000
export DUMP_OSIMCS_SIZE
DUMP_OSIMCS_SIZE=50000

#DUMP_OSIMCS_CHUNK is the size of data (in octets) regularly dumped in the
# dump_osimcs_file
# POSSIBLE VALUES: any value between 1  and $DUMP_OSIMCS_SIZE
# DEFAULT  VALUE: 20000
export DUMP_OSIMCS_CHUNK
DUMP_OSIMCS_CHUNK=20000

#DUMP_OSIMCS_FILE is the name of the file where the internal traces are
# regularly dumped
# Note that on reception of signal SIGUSR1, osimcsd will dump the full
# trace available in memory in ${DUMP_OSIMCS_FILE}.all
# POSSIBLE VALUES: any file writeable by root
# DEFAULT  VALUE: /tmp/trace_mcs
export DUMP_OSIMCS_FILE
DUMP_OSIMCS_FILE=/tmp/trace_mcs

#DUMP_OSIMCS_INTERVAL is the frequency of trace dumps
# POSSIBLE VALUES: 1 to 255 (1 = very often - 256 = very rarely)
# DEFAULT  VALUE: 5
export DUMP_OSIMCS_INTERVAL
DUMP_OSIMCS_INTERVAL=5

#DUMP_OSIMCS_FILE_SIZE is approximately the maximum size of the generated
# file (in Koctets)
# POSSIBLE VALUES: 1 to 4194303
# DEFAULT  VALUE: 1000
export DUMP_OSIMCS_FILE_SIZE
DUMP_OSIMCS_FILE_SIZE=1000


