Start Performance Server from Command Line
You can start the SPD Server Performance Server from a UNIX command line. SPD Server
and the SAS Management Console applications must be running before you start the
Performance Server. If SPD Server must be restarted, the SPD Server Performance Server
must also be shut down and restarted after SPD Server is restarted. The Performance Server
utility is not compatible with SPD Server releases that preceded SPD Server 4.4.
Usage:
spdsperf -g SMA -n NSP -s SNP -p PLP -l LOG [-i SEC] [-c CNT]
where
•
SMA
is the shared memory address for the SPD Server Global Control Block (GCB).
The GCB is an internal SPD Server data map that contains all of the options that are
passed to the SPDSBase server when it starts. To get the value for the GCB address,
SPD Server must be started. After the SPD Server Name Server starts the first
SPDSBase process, issue a UNIX
ps
command and look in the output to view the
address parameters that were passed to SPDSBase. The GCB shared memory address
should be found in the
ps
output data.
•
NSP
is the process-ID number of the SPD Server Name Server whose family of
spawned processes you want to monitor
•
SNP
is the process-ID number of the SPD Server SNet server.
•
PLP
is the listening port number that SAS Management Console will use to contact
the Performance Server
•
LOG
is the path specification that you want to write the profile log to.
•
SEC
is the optional property that specifies the number of seconds that transpire between
instances of performance monitoring data captures. The permissible range for SEC
property values is integers that are greater than or equal to 1, and less than or equal to
the declared SPD Server MAXINT value.
•
CNT
is the optional property that specifies the count, or number of performance
monitoring data captures that you want the Performance Server to take. The permissible
range for CNT property values is integers that are greater than or equal to 0, and less
than or equal to the declared SPD Server MAXINT value. A CNT value of 0 requests
an infinite number of data captures.
Start Performance Server from Rc.perf Script
You can also start the SPD Server Performance Server by calling the
rc.perf
script during
start-up. The next section contains a
rc.perf
script that you can cut and paste into an editor
of your choice, and customize for use with your SPD Server installation. SPD Server 4.4
also ships with a sample
rc.perf
script that you can modify. The sample
rc.perf
script is
located in your SPD Server installation folders at:
.../samples/perfmon/rc.perf
Either example file can be used to create your custom
rc.perf
script.
You must make the following changes when you customize your version of the
rc.perf
script:
1. The sample script below uses the default SPD Server installation path of
usr/local/
spds
If your SPD Server installation uses a custom path, you must update the INSTDIR path
settting to update your installation path setting.
Start Performance Server from Rc.perf Script
143
Summary of Contents for Scalable Performance Data Server 4.5
Page 1: ...SAS Scalable Performance Data Server 4 5 Administrator s Guide...
Page 7: ...Part 1 Product Notes Chapter 1 SPD Server 4 5 Product Notes 3 1...
Page 8: ...2...
Page 12: ...6...
Page 63: ...Part 3 Migration Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility 59 57...
Page 64: ...58...
Page 70: ...64 Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility...
Page 72: ...66...
Page 76: ...70 Chapter 6 Using the SPD Server Name Server to Manage Resources...
Page 94: ...88 Chapter 7 Administering and Configuring SPD Server Using the SAS Management Console...
Page 98: ...92 Chapter 8 SPD Server SQL Query Rewrite Facility...
Page 116: ...110 Chapter 10 Configuring Disk Storage for SPD Server...
Page 128: ...122 Chapter 11 Setting Up SPD Server Parameter Files...
Page 154: ...148...
Page 198: ...192 Chapter 14 ACL Security Overview...
Page 212: ...206 Chapter 15 Managing SPD Server Passwords Users and Table ACLs...
Page 214: ...208...
Page 224: ...218 Chapter 16 SPD Server Operator Interface Procedure PROC SPDO...
Page 236: ...230 Chapter 18 SPD Server Table List Utility Spdsls...
Page 256: ...250 Chapter 19 SPD Server Backup and Restore Utilities...
Page 264: ...258 Chapter 20 SPD Server Directory Cleanup Utility...
Page 270: ......