Using logical expressions
This topic helps you to derive new composite attributes by using existing attributes.
Deriving a new attribute by using an existing attribute
To derive a new attribute by using an existing attribute, use a logical expression in PATROL for Composite Attributes. Here is an example to derive a new attribute by using an existing attribute:
Expression to derive a new attribute:
Attribute <Logical operator> Constant value
Example: MemoryUsed > 10240
Deriving a new attribute by using a combination of existing attributes
To derive a new attribute by using a combination of existing attributes, use a logical expression in PATROL for Composite Attributes. Here is an example to derive a new attribute by using a combination of two or more existing attributes:
Expressions to derive a new attribute:
- (Attribute <Arithmetic operator> Attribute <Logical operator> (Attribute <Arithmeticoperator> Constant value)
Example: SpaceUsed + SpaceAllocated >= (SpaceLeftPct / 100)
- (Attribute <Arithmetic operator> Attribute) <Logical operator> (Attribute <Arithmetic operator> Attribute)
Example: (WriteBytes + ReadBytes) == (WriteOps + ReadOps)