15.00 - schmon -f - Teradata Database

Teradata Database Utilities

Product
Teradata Database
Release Number
15.00
Content Type
Configuration
Publication ID
B035-1102-015K
Language
English (United States)
Last Update
2018-09-25

schmon -f

Purpose  

The schmon -f option reads schmon commands from a file or standard input device. This command is most often used in conjunction with the schmon -c command to reapply Priority Scheduler settings that were in effect at the time schmon -c was run.

Syntax  

 

Syntax element

Description

path

Specifies a path from which input is to be read. If path is not specified, data is read from standard input (STDIN).

Usage Notes  

Input data is assumed to be a single file of schmon commands separated by new line characters. A command that begins with the # character is treated as a comment. Each input command is written to the standard error device when the command is read. Changes to Priority Scheduler parameters are accumulated until the end of file is encountered and then applied to the Teradata Database system.

An error in a command will terminate reading, and no changes will be applied. Errors are reported on the standard output device.

To simplify creation of a suitable input file, see “schmon -c” on page 737.

Example  

Assume that file sample contains the following lines:

schmon -t
schmon -a

The command schmon -f sample results in the following output:

schmon -t
Age Time(sec):   60  Active Time(sec):   61  Disp Age(sec):  10
schmon -a
Allocation Groups (0 - 199)
 Id Wght  Lim  Id Wght  Lim  Id Wght  Lim  Id Wght  Lim
  1    5 none   2   10 none   3   20 none   4   40 none