# /bin/ksh # # nServ -- run the nss test selfserv for performance testing # # syntax: nServ [options] # # where: options are: # Valid arguments to the selfserv program # Note that this script sets some options # # Description: # nServ runs the nss test program "selfserv" for purposes of # gathering performance data. # # some shell variables are set at the top of the script # you may have to change these, depending on the host you # are running on and other "stuff". caveat emptor. # # See also: nClinet # # --- begin nServ ------------------------------------------------------- # baseDir=/home/lorenzo/nss-server/mozilla # # shell variables for running selfserv # export HOST=`hostname -s` export DOMSUF=red.iplanet.com nssDB=${baseDir}/tests_results/security/${HOST}.1/server nssHost=${HOST}.red.iplanet.com nssOptions="-p 12944 -w nss" pushd ${baseDir}/security/nss/tests/common objDir=`gmake objdir_name` popd export LD_LIBRARY_PATH=${baseDir}/dist/${objDir}/lib # # shell variables for capturing instrumentation data # export NSPR_LOG_MODULES=TestCase:6 export NSPR_LOG_FILE=xxxLogfile # # do the test # nssCommand="${baseDir}/dist/${objDir}/bin/selfserv -d ${nssDB} -n ${nssHost} ${nssOptions}" echo $nssCommand ${nssCommand} $* & # xxgdb ${baseDir}/dist/${objDir}/bin/selfserv # # --- end nServ -------------------------------------------------------