Setting Scheduling/Priority Attributes
To update the AgentClass
# hatype -modify resource_type AgentClass value
For example, to set the AgentClass attribute of the FileOnOff resource to RealTime, type:
# hatype -modify FileOnOff AgentClass "RT"
To update the AgentPriority
# hatype -modify resource_type AgentPriority value
For example, to set the AgentPriority attribute of the FileOnOff resource to 10, type:
# hatype -modify FileOnOff AgentPriority "10"
To update the ScriptClass
# hatype -modify resource_type ScriptClass value
For example, to set the ScriptClass of the FileOnOff resource to RealTime, type:
# hatype -modify FileOnOff ScriptClass "RT"
To update the ScriptPriority
# hatype -modify resource_type ScriptPriority value
For example, to set the ScriptClass of the FileOnOff resource to RealTime, type:
# hatype -modify FileOnOff ScriptPriority "40"
Note
For attributes AgentClass and AgentPriority, changes are effective immediately. For ScriptClass and ScriptPriority, changes become effective for scripts fired after the execution of the hatype command.
|