Setting attributes dynamically from the command line

To update the AgentClass

Type:

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

Type:

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

Type:

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

Type:

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 the attributes AgentClass and AgentPriority, changes are effective immediately. For ScriptClass and ScriptPriority, changes become effective for scripts issued after the execution of the hatype command.