|
|
Using SOS/3000 in a Batch JobAnother useful feature of SOS/3000 is its batch job capability. There are three standard batch jobs included in the PUB.LPS group/account named SOSMONJ, SOSJOB, and SOSFULL. In each of these jobstreams you will see a lengthy set of control record lines immediately following the ":run SOS.PUB.LPS" line. These options are described in "SOS Main Option Menu". To change any of the options, modify the characters in the left hand column.
The following isa sample of SOSMONJ.The following isa sample of Batch Job.With few exceptions, the batch output is virtually identical to that of the interactive screen. The job duration states how long the collection will take place before the job ends peacefully. If you specify a “0” (zero) at the “Enter duration of job in minutes” question, the job will run until 12:00 midnight. At this time it will send the output report, $STDLIST, to the spooler. For your convenience, we have supplied a job called SOSMONJ. This job already has the re-stream command in it and will automatically stream SOSMONJ.PUB.LPS. This ensures a perpetual run of the program especially if you have logging enabled. We highly recommend this so you will have a log file for each day. You may also include a STREAM of SOSJOB in your SYSSTART file.At any time an SOS/3000 job may be prematurely aborted and you will still receive reports to that point. We suggest that you have different jobs that provide the types of options you want enabled. For example, you might have one job (SOSJADV) for an advice-only collection and another for only processes that use more than 5% of the CPU, etc.If you want detailed disc I/O data to be displayed, enter a Y (Yes) after the question “Should disc I/O detail information be displayed?” This will cause a page of disc I/O data to be generated after each standard SOS/3000 logfiles. Refer to the "Disc Space Utilization Formula for SOS Log Files" to calculate the disc space utilization of logfiles.The log file size is automatically the EOF unless you abort the batch job. If you abort a batch job it will take a pre-allocated log file space of 20000. Then if you restart the batch job the prior log file will automatically be converted to EOF, thus cleaning up disc space.The following isa sample of SOSFULL jobstream.
|
Lund Performance Solutions www.lund.com Voice: (541) 812-7600 Fax: (541) 812-7611 info@lund.com |
|
|