Lists the average value of a statistic type for an object during a time range.
Syntax
getAverageStat
objType=
{
Server
|
Vm
|
FileSystem
}
objId=
value
statType=
{
CPU_UTILIZATION
|
CPU_COUNT
|
MEMORY_USED
|
FREE_MEMORY
|
MEMORY_UTILIZATION
|
FILE_SYSTEM_SPACE_FREE
|
FILE_SYSTEM_SPACE_UTILIZATION
|
FILE_SYSTEM_SPACE_TOTAL
}
startTime=
[
value
endTime=
]value
Description
This command lists the average statistic for an object during a time range. Statistics are held for a limited amount of time and there may be no statistics of the particular type that occurred during all or part of the specified time range.
Options
The following table shows the available options for this command.
Option | Description |
---|---|
|
The object type for which to list the average statistic.
The |
| The name or ID of the object for which statistics should be listed. This must be the ID of a Server, Vm, or FileSystem object. |
| The type of statistic to list:
The
The An error is returned when an incompatible object type and parameter are requested.
A value of |
|
The start date and time from which to list the average
statistic. The format to use is
The value must not be later than the current time or after
the value of |
|
The end date and time from which to list the average
statistic. The format to use is This is an optional parameter. |
Examples
Example A.136 Listing average statistics for an Oracle VM Server
OVM> getAverageStat objType=Server objId=00:e0:81:4d:41:05:00:e0:81:4d:40:de:00:e0:81:4d \ statType=CPU_UTILIZATION startTime="08-20-2014 00:00"