15.00 - schmon -c - 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 -c

Purpose  

The schmon -c option displays the current Priority Scheduler settings as schmon commands. The output can also be sent to a specified file, which can be used as input to the schmon -f command to reapply the current schmon settings.

Syntax  

 

Syntax element

Description

-c

Displays current Priority Scheduler settings as schmon commands. If no additional options are specified, schmon -c displays all of the current settings.

-p

Displays settings for the current Performance Group as schmon commands. Displays schmon commands that can be used to re-create the current Performance Groups.

-b

Displays schmon commands that can be used to re-create the current Resource Partitions.

-a

Displays schmon commands that can be used to re-create the current Allocation Groups.

-w

Displays schmon commands that can be used to re-create the current AWT expedite parameters.

-t

Displays schmon commands that can be used to re-create the current Times and Attributes parameters.

-f path

Saves the output of schmon -c to a specified file. The file can be used in conjunction with the schmon -f command to reapply some or all of the current schmon settings. This option can be used with any combination of the other schmon ‑c options.

Usage Notes  

If you do not specify any options with the schmon-c command, then all commands, including those for setting system times and attributes, are displayed.

Example  

To dump all settings, type:

schmon -c

The following appears:

#       Priority Scheduler Times & Attributes
# Age_Time Active_Time Dispatch_Age
schmon -t   60   61    0
# System Limit
schmon -l 100

#       Resource Partitions
schmon -b  0 Default             100    none

#       Allocation Groups
schmon -a   1 N      5 none
schmon -a   2 N     10 none
schmon -a   3 N     20 none
schmon -a   4 N     40 none

#       Performance Groups
schmon -p  0 L  0  S         0.00   1
schmon -p  1 M  0  S         0.00   2
schmon -p  2 H  0  S         0.00   3
schmon -p  3 R  0  S         0.00   4

#       AWT Expedited work type limits (reserve maximum)
schmon -w    0   999

Example  

To dump only Allocation Group parameters, type:

schmon -c -a 

The following appears:

#       Allocation Groups
schmon -a   1 N      5 none
schmon -a   2 N     10 none
schmon -a   3 N     20 none
schmon -a   4 N     40 none