node-behavior
Queries behavior profile data downloaded to the Data Node through the policy synchronization module.
Command properties
| Property | Description |
|---|---|
| Command type | Driver |
| Required permission | Administrator |
| License usage | Not counted |
| Parallel execution | Not supported |
| Distributed execution | Runs on Data Node (mapper) |
Syntax
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):
| Field | Type | Description |
|---|---|---|
id | integer | Behavior profile ID |
guid | string | Behavior profile GUID |
name | string | Behavior profile name |
description | string | Behavior profile description |
rows | long | Number of profile records |
curr_ver | long | Current build version |
schedule | string | Build schedule |
key_fields | array | List of key fields |
query | string | Profile build query |
created | timestamp | Creation time |
updated | timestamp | Last modification time |
When the guid option is specified (profile data query):
| Field | Type | Description |
|---|---|---|
| Key fields | - | Key fields defined in the behavior profile. Varies by profile. |
Error codes
Parse errors
| Error code | Message | Description |
|---|---|---|
| 300350 | You do not have permission to run node-behavior. | Executed from a session without administrator privileges. |
| 300351 | The guid option for the node-behavior command is not in a valid format. | The guid option value is not a valid GUID format. |
| 300352 | The 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
-
List behavior profiles
node-behaviorQueries the metadata of all behavior profiles synchronized to the Data Node.
-
Query data for a specific behavior profile
node-behavior guid=550e8400-e29b-41d4-a716-446655440000Queries the data stored in the behavior profile with the specified GUID.