There are several CLASS_SCHEDULE subcommands. Select the one you
want from the choices below.
1 – ADD
The ADD command creates a new scheduling class.
The class scheduler provides the ability to limit the amount
of CPU time that a system's users receive by placing users in
scheduling classes. Each class is assigned a percentage of the
overall system CPU time. As the system runs, the combined set of
users in a class is limited to the percentage of CPU execution
time allocated to their class.
Users might get some additional CPU time if the qualifier
/WINDFALL is enabled for their scheduling class. Enabling the
qualifier /WINDFALL allows the system to give a small amount
of CPU time to a scheduling class when the scheduling class's
allotted time has been depleted, but a free CPU is available.
Format
CLASS_SCHEDULE ADD class_name
1.1 – Parameter
class_name
Specifies the name of the scheduling class. You must specify a
class name with the ADD command. The maximum length for this name
is 16 characters.
1.2 – Qualifiers
1.2.1 /ACCOUNT
Specifies which user is part of this scheduling class. This is
part of a user's SYSUAF record.
The syntax for this qualifier is as follows:
[/ACCOUNT = (name1, name2,...name"n")]
1.2.2 /CPULIMIT
Defines the maximum amount of CPU time that this scheduling class
can receive for the specified days and hours. You must specify
this qualifier when adding a class.
The syntax for this qualifier is as follows:
/CPULIMIT = ([primary], [h1-h2=time%],[h1=time%],
[,...],[secondary],[h1-h2=time%],[h1=time%],[,...])
The h1-h2=time% syntax allows you to specify a range of hours
followed by the maximum amount of CPU time (expressed as a
percentage) to be associated with this set of hours. The first
set of hours after the keyword PRIMARY specifies hours on primary
days; the set of hours after the keyword SECONDARY specifies
hours on secondary days. The hours are inclusive; if you class
schedule a given hour, access extends to the end of that hour.
1.2.3 /PRIMEDAYS
Allows you to define which days are primary days and which days
are secondary days.
The syntax for this qualifier is as follows:
[/PRIMEDAYS = ([no]day[,...])]
You specify primary days as MON, TUE, WED, THU, FRI, SAT, and
SUN. You specify secondary days as NOMON, NOTUE, NOWED, NOTHU,
NOFRI, NOSAT, and NOSUN.
The default is MON through FRI and NOSAT and NOSUN. Any days
omitted from the list take their default value. You can use the
DCL command, SET DAY, to override the class definition of primary
and secondary days.
1.2.4 /UIC
Specifies which users are part of this scheduling class. This is
part of a user's SYSUAF record.
The syntax for this qualifier is as follows:
[/UIC = (uic1,uic2,...uic"n")]
1.2.5 /USERNAME
Specifies which user is part of this scheduling class. This is
part of a user's SYSUAF record.
The syntax for this qualifier is as follows:
[/USERNAME = (name1, name2,...name"n")]
1.2.6 /WINDFALL
Specifies that all processes in the scheduling class are eligible
for windfall.
The syntax for this qualifier is as follows:
[/WINDFALL])
By enabling windfall, you allow processes in the scheduling class
to receive a "windfall", that is, a small percentage of CPU time,
when the class's allotted CPU time has been depleted, and a CPU
is idle. Rather than let the CPU remain idle, you might decide
that it is better to let these processes execute, even if it
means giving them more than their alloted time.
The default value is for windfall to be disabled.
1.3 – Description
The format for the CLASS_SCHEDULE ADD command is as follows:
SYSMAN> CLASS_SCHEDULE ADD class_name
You can use the /ACCOUNT, /UIC, or /USERNAME qualifier to specify
which users are to be part of a scheduling class.
2 – DELETE
The DELETE subcommand deletes a scheduling class from the class
scheduler database file.
Format
CLASS_SCHEDULE DELETE class_name
2.1 – Parameter
class_name
Specifies the name of the scheduling class. You must specify a
class name with the DELETE command. The maximum length for this
name is 16 characters.
2.2 – Qualifiers
None.
3 – MODIFY
The MODIFY subcommand changes the characteristics of a scheduling
class.
Format
CLASS_SCHEDULE MODIFY class_name
3.1 – Parameter
class_name
Specifies the name of the scheduling class. You must specify a
class name with the MODIFY command. The maximum length for this
name is 16 characters.
3.2 – Qualifiers
3.2.1 /ACCOUNT
Specifies which user is part of this scheduling class. This is
part of a user's SYSUAF record.
The syntax for this qualifier is as follows:
[/ACCOUNT = (name1, name2,...name"n")]
3.2.2 /CPULIMIT
Defines the maximum amount of CPU time that this scheduling class
can receive for the specified days and hours.
The syntax for this qualifier is as follows:
/CPULIMIT = ([primary], [h1-h2=time%],[h1=time%],
[,...],[secondary],[h1-h2=time%],[h1=time%],[,...])
The h1-h2=time% syntax allows you to specify a range of hours
followed by the maximum amount of CPU time (expressed as a
percentage) to be associated with this set of hours. The first
set of hours after the keyword PRIMARY specifies hours on primary
days; the set of hours after the keyword SECONDARY specifies
hours on secondary days. The hours are inclusive; if you class
schedule a given hour, access extends to the end of that hour.
3.2.3 /PRIMEDAYS
Allows you to define which days are primary days and which days
are secondary days.
The syntax for this qualifier is as follows:
[/PRIMEDAYS = ([no]day[,...])]
You specify primary days as MON, TUE, WED, THU, FRI, SAT, and
SUN. You specify secondary days as NOMON, NOTUE, NOWED, NOTHU,
NOFRI, NOSAT, and NOSUN.
The default is MON through FRI and NOSAT and NOSUN. Any days
omitted from the list take their default value. You can use the
DCL command, SET DAY, to override the class definition of primary
and secondary days.
3.2.4 /UIC
Specifies which users are part of this scheduling class. This is
part of a user's SYSUAF record.
The syntax for this qualifier is as follows:
[/UIC = (uic1,uic2,...uic"n")]
3.2.5 /USERNAME
Specifies which user is part of this scheduling class. This is
part of a user's SYSUAF record.
The syntax for this qualifier is as follows:
[/USERNAME = (name1, name2,...name"n")]
3.2.6 /WINDFALL
Specifies that all processes in the scheduling class are eligible
for windfall.
The syntax for this qualifier is as follows:
[/WINDFALL])
By enabling windfall, you allow processes in the scheduling class
to receive a "windfall," that is, a small percentage of CPU time,
when the class's allotted CPU time has been depleted and a CPU is
idle. Rather than let the CPU remain idle, you might decide that
it is better to let these processes execute, even if it means
giving them more than their alloted time.
The default value is for windfall to be disabled.
3.3 – Description
To remove a time restriction, specify the time percentage as
"none" for the particular range of hours.
To remove a name or uic value, you must specify a minus sign in
front of each name or value.
4 – RESUME
The RESUME subcommand complements the suspend command. You use
this command to resume a scheduling class that is currently
suspended.
Format
CLASS_SCHEDULE RESUME class_name
4.1 – Parameter
class_name
Specifies the name of the scheduling class. You must specify a
class name with the RESUME command. The maximum length for this
name is 16 characters.
4.2 – Qualifiers
None.
5 – SHOW
The SHOW subcommand displays the characteristics of a scheduling
class.
Format
CLASS_SCHEDULE SHOW [class_name] [/qualifier]
5.1 – Parameter
class_name
Specifies the name of the scheduling class. You must specify
a class name or the /ALL qualifier with the SHOW command. The
maximum length for the class name is 16 characters.
5.2 – Qualifiers
5.2.1 /ALL
Displays all scheduling classes. The qualifier must be specified
if no class name is given.
5.2.2 /FULL
Displays all information about this scheduling class.
5.3 – Description
By default, a limited display of data is shown by the SHOW
subcommand. The default displays the following:
o Name
o Maximum CPU time or times for each range of hours
o Primary days and secondary days
o Windfall settings
6 – SUSPEND
The SUSPEND subcommand suspends the specified scheduling class.
Format
CLASS_SCHEDULE SUSPEND class_name
6.1 – Parameter
class_name
Specifies the name of the scheduling class. You must specify a
class name with the SUSPEND command. The maximum length for this
name is 16 characters.
6.2 – Qualifiers
None.
6.3 – Description
When you suspend a scheduling class, all processes that are
part of the scheduling class remain as part of the class but
are granted unlimited CPU time.