node-behavior

Queries behavior profile data downloaded to the Data Node through the policy synchronization module.

Command properties

PropertyDescription
Command typeDriver
Required permissionAdministrator
License usageNot counted
Parallel executionNot supported
Distributed executionRuns on Data Node (mapper)

Syntax

node-behavior [guid=STR]

Options

guid=STR
Behavior profile GUID. When specified, queries the data for that profile. When omitted, lists all behavior profiles.

Output fields

When the guid option is omitted (profile list):

FieldTypeDescription
idintegerBehavior profile ID
guidstringBehavior profile GUID
namestringBehavior profile name
descriptionstringBehavior profile description
rowslongNumber of profile records
curr_verlongCurrent build version
schedulestringBuild schedule
key_fieldsarrayList of key fields
querystringProfile build query
createdtimestampCreation time
updatedtimestampLast modification time

When the guid option is specified (profile data query):

FieldTypeDescription
Key fields-Key fields defined in the behavior profile. Varies by profile.

Error codes

Parse errors
Error codeMessageDescription
300350You do not have permission to run node-behavior.Executed from a session without administrator privileges.
300351The guid option for the node-behavior command is not in a valid format.The guid option value is not a valid GUID format.
300352The behavior profile [guid] specified in node-behavior was not found.No behavior profile exists for the specified GUID.
Runtime errors

None

Description

The node-behavior command queries behavior profile data deployed to the Data Node from the Control Node through policy synchronization.

When the guid option is omitted, it lists the metadata of all behavior profiles synchronized to the Data Node. When the guid option is specified, it queries the individual data records stored in that profile. The output fields of profile data vary depending on the key fields defined in each behavior profile.

This command runs on the Data Node, so it is used to verify the status of behavior profile data synchronized to the Data Node.

Examples

  1. List behavior profiles

    node-behavior
    

    Queries the metadata of all behavior profiles synchronized to the Data Node.

  2. Query data for a specific behavior profile

    node-behavior guid=550e8400-e29b-41d4-a716-446655440000
    

    Queries the data stored in the behavior profile with the specified GUID.