5.7

Table Of Contents
Single Functions
Single functions work on only a single value or a single pair of values.
Table 4-5. Single Functions
Function Format Description
abs abs(x) Absolute value of x. x can be any floating point number.
acos acos(x) Arccosine of x.
asin asin(x) Arcsine of x.
atan atan(x) Arctangent of x.
ceil ceil(x) The smallest integer that is greater than or equal to x.
cos cos(x) Cosine of x.
cosh cosh(x) Hyperbolic cosine of x.
exp exp(x) e raised to the power of x.
floor floor(x) The largest integer that is less than or equal to x.
log log(x) Natural logarithm (base x) of x.
log10 log10(x) Common logarithm (base 10) of x.
pow pow(x,y) Raises x to the y power.
rand rand(x:y) Generates a random number between x and y.
sin sin(x) Sine of x.
sinh sinh(x) Hyperbolic sine of x.
sqrt sqrt(x) Square root of x.
tan tan(x) Tangent of x.
tanh tanh(x) Hyperbolic tangent of x.
Build a Super Metric Formula
A super metric formula can include one or more metric specifications, super metric functions, arithmetic
operators (such as the plus or minus sign), and constants. You can enter any number of constants as part of
the formula.
You must follow certain procedures and rules when you build a super metric formula in the
vCenter Operations Manager user interface.
Prerequisites
n
Become familiar with how to construct super metric specifications. See “Super Metric Specifications,” on
page 46.
n
Become familiar with the super metric functions that vCenter Operations Manager provides. See “Super
Metric Functions,” on page 46.
Procedure
n
To use a function, select it in from the Function drop-down menu and select the resource or resource kind
and metric or attribute kind to use in its argument.
n
For looping functions that are in functN format, type the comma and value of n in the function argument.
VMware vCenter Operations Manager Administration Guide
48 VMware, Inc.