HostMemoryUsage¶
-
class
oci.opsi.models.HostMemoryUsage(**kwargs)¶ Bases:
oci.opsi.models.host_performance_metric_group.HostPerformanceMetricGroupMemory usage metric for the host
Attributes
METRIC_NAME_HOST_CPU_USAGEstr(object=’’) -> str METRIC_NAME_HOST_FILESYSTEM_USAGEstr(object=’’) -> str METRIC_NAME_HOST_GPU_PROCESSESstr(object=’’) -> str METRIC_NAME_HOST_GPU_USAGEstr(object=’’) -> str METRIC_NAME_HOST_IO_USAGEstr(object=’’) -> str METRIC_NAME_HOST_MEMORY_USAGEstr(object=’’) -> str METRIC_NAME_HOST_NETWORK_ACTIVITY_SUMMARYstr(object=’’) -> str METRIC_NAME_HOST_TOP_PROCESSESstr(object=’’) -> str anon_huge_pages_in_kbGets the anon_huge_pages_in_kb of this HostMemoryUsage. free_logical_memory_in_kbGets the free_logical_memory_in_kb of this HostMemoryUsage. free_memory_in_kbGets the free_memory_in_kb of this HostMemoryUsage. huge_pages_freeGets the huge_pages_free of this HostMemoryUsage. huge_pages_reservedGets the huge_pages_reserved of this HostMemoryUsage. huge_pages_surplusGets the huge_pages_surplus of this HostMemoryUsage. logical_memory_used_in_gbGets the logical_memory_used_in_gb of this HostMemoryUsage. logical_memory_utilization_in_percentGets the logical_memory_utilization_in_percent of this HostMemoryUsage. major_page_faultsGets the major_page_faults of this HostMemoryUsage. memory_load_in_gbGets the memory_load_in_gb of this HostMemoryUsage. memory_used_in_gbGets the memory_used_in_gb of this HostMemoryUsage. memory_utilization_in_percentGets the memory_utilization_in_percent of this HostMemoryUsage. metric_name[Required] Gets the metric_name of this HostPerformanceMetricGroup. real_memory_in_kbGets the real_memory_in_kb of this HostMemoryUsage. swap_free_in_kbGets the swap_free_in_kb of this HostMemoryUsage. time_collected[Required] Gets the time_collected of this HostPerformanceMetricGroup. Methods
__init__(**kwargs)Initializes a new HostMemoryUsage object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
METRIC_NAME_HOST_CPU_USAGE= 'HOST_CPU_USAGE'¶
-
METRIC_NAME_HOST_FILESYSTEM_USAGE= 'HOST_FILESYSTEM_USAGE'¶
-
METRIC_NAME_HOST_GPU_PROCESSES= 'HOST_GPU_PROCESSES'¶
-
METRIC_NAME_HOST_GPU_USAGE= 'HOST_GPU_USAGE'¶
-
METRIC_NAME_HOST_IO_USAGE= 'HOST_IO_USAGE'¶
-
METRIC_NAME_HOST_MEMORY_USAGE= 'HOST_MEMORY_USAGE'¶
-
METRIC_NAME_HOST_NETWORK_ACTIVITY_SUMMARY= 'HOST_NETWORK_ACTIVITY_SUMMARY'¶
-
METRIC_NAME_HOST_TOP_PROCESSES= 'HOST_TOP_PROCESSES'¶
-
__init__(**kwargs)¶ Initializes a new HostMemoryUsage object with values from keyword arguments. The default value of the
metric_nameattribute of this class isHOST_MEMORY_USAGEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - metric_name (str) – The value to assign to the metric_name property of this HostMemoryUsage. Allowed values for this property are: “HOST_CPU_USAGE”, “HOST_MEMORY_USAGE”, “HOST_NETWORK_ACTIVITY_SUMMARY”, “HOST_TOP_PROCESSES”, “HOST_FILESYSTEM_USAGE”, “HOST_GPU_USAGE”, “HOST_GPU_PROCESSES”, “HOST_IO_USAGE”
- time_collected (datetime) – The value to assign to the time_collected property of this HostMemoryUsage.
- memory_used_in_gb (float) – The value to assign to the memory_used_in_gb property of this HostMemoryUsage.
- memory_utilization_in_percent (float) – The value to assign to the memory_utilization_in_percent property of this HostMemoryUsage.
- memory_load_in_gb (float) – The value to assign to the memory_load_in_gb property of this HostMemoryUsage.
- real_memory_in_kb (float) – The value to assign to the real_memory_in_kb property of this HostMemoryUsage.
- free_memory_in_kb (float) – The value to assign to the free_memory_in_kb property of this HostMemoryUsage.
- logical_memory_used_in_gb (float) – The value to assign to the logical_memory_used_in_gb property of this HostMemoryUsage.
- logical_memory_utilization_in_percent (float) – The value to assign to the logical_memory_utilization_in_percent property of this HostMemoryUsage.
- free_logical_memory_in_kb (float) – The value to assign to the free_logical_memory_in_kb property of this HostMemoryUsage.
- major_page_faults (int) – The value to assign to the major_page_faults property of this HostMemoryUsage.
- swap_free_in_kb (float) – The value to assign to the swap_free_in_kb property of this HostMemoryUsage.
- anon_huge_pages_in_kb (float) – The value to assign to the anon_huge_pages_in_kb property of this HostMemoryUsage.
- huge_pages_free (int) – The value to assign to the huge_pages_free property of this HostMemoryUsage.
- huge_pages_reserved (int) – The value to assign to the huge_pages_reserved property of this HostMemoryUsage.
- huge_pages_surplus (int) – The value to assign to the huge_pages_surplus property of this HostMemoryUsage.
-
anon_huge_pages_in_kb¶ Gets the anon_huge_pages_in_kb of this HostMemoryUsage. Amount of memory used for anon huge pages in kilobytes
Returns: The anon_huge_pages_in_kb of this HostMemoryUsage. Return type: float
-
free_logical_memory_in_kb¶ Gets the free_logical_memory_in_kb of this HostMemoryUsage. Amount of avaiable virtual memory in kilobytes
Returns: The free_logical_memory_in_kb of this HostMemoryUsage. Return type: float
-
free_memory_in_kb¶ Gets the free_memory_in_kb of this HostMemoryUsage. Amount of available physical memory in kilobytes
Returns: The free_memory_in_kb of this HostMemoryUsage. Return type: float
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
huge_pages_free¶ Gets the huge_pages_free of this HostMemoryUsage. Number of available huge pages
Returns: The huge_pages_free of this HostMemoryUsage. Return type: int
-
huge_pages_reserved¶ Gets the huge_pages_reserved of this HostMemoryUsage. Number of reserved huge pages
Returns: The huge_pages_reserved of this HostMemoryUsage. Return type: int
-
huge_pages_surplus¶ Gets the huge_pages_surplus of this HostMemoryUsage. Number of surplus huge pages
Returns: The huge_pages_surplus of this HostMemoryUsage. Return type: int
-
logical_memory_used_in_gb¶ Gets the logical_memory_used_in_gb of this HostMemoryUsage. Memory used excluding buffers and cache in gigabytes
Returns: The logical_memory_used_in_gb of this HostMemoryUsage. Return type: float
-
logical_memory_utilization_in_percent¶ Gets the logical_memory_utilization_in_percent of this HostMemoryUsage. Amount of logical memory used in percentage
Returns: The logical_memory_utilization_in_percent of this HostMemoryUsage. Return type: float
-
major_page_faults¶ Gets the major_page_faults of this HostMemoryUsage. Number of major page faults
Returns: The major_page_faults of this HostMemoryUsage. Return type: int
-
memory_load_in_gb¶ Gets the memory_load_in_gb of this HostMemoryUsage. Load on memory in gigabytes
Returns: The memory_load_in_gb of this HostMemoryUsage. Return type: float
-
memory_used_in_gb¶ Gets the memory_used_in_gb of this HostMemoryUsage. Amount of physical memory used in gigabytes
Returns: The memory_used_in_gb of this HostMemoryUsage. Return type: float
-
memory_utilization_in_percent¶ Gets the memory_utilization_in_percent of this HostMemoryUsage. Amount of physical memory used in percentage
Returns: The memory_utilization_in_percent of this HostMemoryUsage. Return type: float
-
metric_name¶ [Required] Gets the metric_name of this HostPerformanceMetricGroup. Name of the metric group
Allowed values for this property are: “HOST_CPU_USAGE”, “HOST_MEMORY_USAGE”, “HOST_NETWORK_ACTIVITY_SUMMARY”, “HOST_TOP_PROCESSES”, “HOST_FILESYSTEM_USAGE”, “HOST_GPU_USAGE”, “HOST_GPU_PROCESSES”, “HOST_IO_USAGE”
Returns: The metric_name of this HostPerformanceMetricGroup. Return type: str
-
real_memory_in_kb¶ Gets the real_memory_in_kb of this HostMemoryUsage. Amount of usable physical memory in kilobytes
Returns: The real_memory_in_kb of this HostMemoryUsage. Return type: float
-
swap_free_in_kb¶ Gets the swap_free_in_kb of this HostMemoryUsage. Amount of available swap space in kilobytes
Returns: The swap_free_in_kb of this HostMemoryUsage. Return type: float
-
time_collected¶ [Required] Gets the time_collected of this HostPerformanceMetricGroup. Collection timestamp Example: “2020-05-06T00:00:00.000Z”
Returns: The time_collected of this HostPerformanceMetricGroup. Return type: datetime
-