|
|
SOSLOGDThe Historical Performance Data Logging Utility
The SOS Performance Advisor application suite includes a data logging utility called SOSLOGD. SOSLOGD enables the user to collect historical system performance data for analysis of performance problems and trends.Data can be logged three ways:The length of the data collection period is determined by the user.The logging job must be stopped manually with the lpskill command.For example, Monday through Friday, 06:30 AM to 6:30 PM.The data is collected and stored in SL (system log) files for later use by SOSLOGX.SL Files
SOSLOGD creates one logical file record for every batch interval. The default interval is 10 minutes (600 seconds). The log file is saved in the SOS Performance Advisor log directory (/var/ opt/lps/log is the default location) and named using the format SLyyjjjs.SL represents the SOS log file. yy represents the current year. jjj represents the Julian day of the year. s represents the sequence of the log (up to 26 characters, from a through z). Starting the Logging Process
To begin the collection process, enter soslogd at the shell prompt of your home directory. It is assumed that your path statements are set up properly.Command Line Switches
Use command line switches to modify the SOSLOGD configuration. Enter soslogd -h at the shell prompt of your home directory to view all available command line switches. The effects of the command line switches vary depending on whether you are using the default or advanced configuration parameters.The functions of each command line switch is summarized in the next table.Table 29.1 SOSLOGD command line switch functionsViewing Default Configuration Parameters
To view the default configuration parameters for your system, type soslogd -o from your home directory. The default parameters are described in Table 29.2.Table 29.2 SOSLOGD default configuration parametersSetting Advanced Configuration Parameters
To create a custom configuration parameter file:All parameters listed above are optional, and their order in the .soslogdrc file is not important.Place the .soslogdrc file in your home directory to enable batch logging parameters. To change the configuration, edit the parameters in the .soslogdrc file. For example: To collect data in one-hour batches, change the batch run time to 60 minutes by typing RunTime=60. To shorten the interval time to five minutes (300 seconds), type CycleTime=300. To add the name of your company (or another subheading) to the title of each log report, type CompanyName=<your company’s name>. Configuration Variables
The configurations outlined in Table 29.3 can be found in the .soslogdrc file.Table 29.3 SOSLOGD default configuration variables
|
Lund Performance Solutions www.lund.com Voice: (541) 812-7600 Fax: (541) 81207611 info@lund.com |
|
|