SAS Scalable Performance Data Server 4.5 Administrator's Manual page 150

Table of Contents

Advertisement

144
Chapter 13 • Setting Up SPD Server Performance Server
2. You must update the UNIX environment setting for DISPLAY. This environmental
3. The sample script uses the default SAS Name Server port ( NSPORT) and SAS SNet
4. The script uses the –PARGS setting to specify how many times the Performance Server
Sample Rc.perf Script
The sample code below is a typical rc.perf script that you can modify for use at your own
site. Follow the instructions in the section above to customize the script for your SPD Server
installation. In order to assist you, the values that you may need to change have been
highlighted in a lighter color. It is recommended that you copy and paste the text below
into a text editor of your preference, make your changes, and then save the file to your SPD
Server installation in a location where the script can be called for execution.
#!/bin/ksh
#--------------------------------------------------------------------------
#
# PURPOSE:
#
# PARAMETERS: version - Version of SPDS to build and run (e.g., dev, 403).
#
# NOTES:
#
#
#
#
#
#
#
#
# HISTORY:
#
#
#--------------------------------------------------------------------------
#
# enable XPG4 versions of ps command on some platforms
#
export UNIX95=1
#
# initialize variables
variable tells the X server where to display the window for the Performance Server
program.
port (SNPORT) assignments. If your SPD Server installation uses different NSPORT
and SNPORT assignments, you must update the NSPORT and SNPORT settings in the
sample script to the port addresses that are used in your SPD Server installation.
should capture performance information snapshots before shutting down. The sample
rc.spds script below uses a -PARGS setting of 0, which requests an infinite number of
performance information captures. If you do not change the default number of
information captures from 0 (infinity), you may wish to modify your rc.killspds script
to shut down the rc.perf process when you shut down SPD Server.
Start the SPD Performance Profiler for the specified servers.
Common optional parameters:
-nsport
-snport
-debug
The default repetition count for spdsperf is 3. This script
over-rides the default to run indefinitely. Supplying a -c
option to this script will over-ride this new default.
12Sep06 mjm Optimized for customer use.
02Aug06 mjm Created.
overrides NSPORT for server.
overrides SNPORT for server.
use alternate port numbers for development.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Scalable Performance Data Server 4.5 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents