A SERVICE OF

logo

SHMATID=$(ps -eo pid,ppid,args | grep spdsbase | grep $SSRVPID
| tr -s "\t" " " | sed -ne "1s/^ *//p" | cut -d " " -f4)
echo "SPDSNSRV Pid: $SSRVPID"
echo "SPDSSNET Pid: $SNETPID"
echo "SHMATID: $SHMATID"
INSTDIR=/usr/local/spds
PATH=$INSTDIR/bin
export PATH
LD_LIBRARY_PATH=$INSTDIR/bin
export LD_LIBRARY_PATH
LIBPATH=$INSTDIR/bin
export LIBPATH
# substitute user's display machine name below.
export DISPLAY=machine:0.0
#sleep 4
spdsperf -g $SHMATID -n $SSRVPID -s $SNETPID $PARGS
Performance Server Log File
The SPD Server Performance server can also be configured to save the process performance
information to a text log file. Your SPD Server installation includes a perl utility called
process_perf_log that is located in the .../samples/perfmon directory of your
SPD Server installation. When you use the process_perf_log perl script with your
SPD Server Name Server log files, they will be parsed and formatted for SAS processing.
There is a sample SAS script for importing the parsed log file data. The SAS script is located
at
.../samples/perfmon/PerfDataSample.sas
in your SPD Server installation. .
146 Chapter 13 Setting Up SPD Server Performance Server