#!/bin/csh
# a web server
setenv PW_ARGS_0 httpd
# user1 runs the messaging system
setenv PW_USER_1 'user1'
# se monitoring scripts
setenv PW_CMD_2 'se.sparc'
# shareplex replicating the database
setenv PW_CMD_3 'sp_'
# various monitoring agents
setenv PW_CMD_4 'Agent'
# bigbrother monitoring scripts
setenv PW_USER_5 'bb'
# database sid1
setenv PW_ARGS_6 sid1
setenv PW_CMD_6 'oracle'
# database sid2
setenv PW_ARGS_7 sid2
setenv PW_CMD_7 'oracle'
# database sid3
setenv PW_ARGS_8 sid3
setenv PW_CMD_8 'oracle'
# all other oracle userid activity catchall
setenv PW_USER_9 'oracle'
# applications running in java as user1
setenv PW_USER_10 'user2'
setenv PW_CMD_10 java
# all other user2 userid activity
setenv PW_USER_11 'user2'
# Veritas cluster tools
setenv PW_ARGS_12 VRTS
# Other veritas tools for volume and filesystem
setenv PW_ARGS_13 vx
# All other root userid activity
setenv PW_USER_14 'root'
# Catchall for all other users as 15, blank matches
setenv PW_COUNT 16
setenv OUTDIR /var/tmp/pwlog
umask 022
setenv HOSTNAME `hostname`
exec /opt/RICHPse/bin/se -DMAX_WORKLOADS=$PW_COUNT -DWIDE workollator.se 10
