HostTopProcesses¶
- class oci.opsi.models.HostTopProcesses(**kwargs)¶
Bases:
HostPerformanceMetricGroupTop Processes metric for the host
Attributes:
A constant which can be used with the metric_name property of a HostPerformanceMetricGroup.
A constant which can be used with the metric_name property of a HostPerformanceMetricGroup.
A constant which can be used with the metric_name property of a HostPerformanceMetricGroup.
A constant which can be used with the metric_name property of a HostPerformanceMetricGroup.
A constant which can be used with the metric_name property of a HostPerformanceMetricGroup.
A constant which can be used with the metric_name property of a HostPerformanceMetricGroup.
A constant which can be used with the metric_name property of a HostPerformanceMetricGroup.
A constant which can be used with the metric_name property of a HostPerformanceMetricGroup.
Gets the command of this HostTopProcesses.
Gets the container_id of this HostTopProcesses.
Gets the cpu_usage_in_seconds of this HostTopProcesses.
Gets the cpu_utilization_percent of this HostTopProcesses.
Gets the disk_bytes_read of this HostTopProcesses.
Gets the disk_bytes_written of this HostTopProcesses.
Gets the disk_iops of this HostTopProcesses.
Gets the disk_iops_read of this HostTopProcesses.
Gets the disk_iops_written of this HostTopProcesses.
Gets the memory_utilization_percent of this HostTopProcesses.
[Required] Gets the metric_name of this HostPerformanceMetricGroup.
Gets the physical_memory_in_mbs of this HostTopProcesses.
Gets the pid of this HostTopProcesses.
Gets the start_time of this HostTopProcesses.
[Required] Gets the time_collected of this HostPerformanceMetricGroup.
Gets the total_processes of this HostTopProcesses.
Gets the user_name of this HostTopProcesses.
Gets the virtual_memory_in_mbs of this HostTopProcesses.
Methods:
__init__(**kwargs)Initializes a new HostTopProcesses 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'¶
A constant which can be used with the metric_name property of a HostPerformanceMetricGroup. This constant has a value of “HOST_CPU_USAGE”
- METRIC_NAME_HOST_FILESYSTEM_USAGE = 'HOST_FILESYSTEM_USAGE'¶
A constant which can be used with the metric_name property of a HostPerformanceMetricGroup. This constant has a value of “HOST_FILESYSTEM_USAGE”
- METRIC_NAME_HOST_GPU_PROCESSES = 'HOST_GPU_PROCESSES'¶
A constant which can be used with the metric_name property of a HostPerformanceMetricGroup. This constant has a value of “HOST_GPU_PROCESSES”
- METRIC_NAME_HOST_GPU_USAGE = 'HOST_GPU_USAGE'¶
A constant which can be used with the metric_name property of a HostPerformanceMetricGroup. This constant has a value of “HOST_GPU_USAGE”
- METRIC_NAME_HOST_IO_USAGE = 'HOST_IO_USAGE'¶
A constant which can be used with the metric_name property of a HostPerformanceMetricGroup. This constant has a value of “HOST_IO_USAGE”
- METRIC_NAME_HOST_MEMORY_USAGE = 'HOST_MEMORY_USAGE'¶
A constant which can be used with the metric_name property of a HostPerformanceMetricGroup. This constant has a value of “HOST_MEMORY_USAGE”
- METRIC_NAME_HOST_NETWORK_ACTIVITY_SUMMARY = 'HOST_NETWORK_ACTIVITY_SUMMARY'¶
A constant which can be used with the metric_name property of a HostPerformanceMetricGroup. This constant has a value of “HOST_NETWORK_ACTIVITY_SUMMARY”
- METRIC_NAME_HOST_TOP_PROCESSES = 'HOST_TOP_PROCESSES'¶
A constant which can be used with the metric_name property of a HostPerformanceMetricGroup. This constant has a value of “HOST_TOP_PROCESSES”
- __init__(**kwargs)¶
Initializes a new HostTopProcesses object with values from keyword arguments. The default value of the
metric_nameattribute of this class isHOST_TOP_PROCESSESand 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 HostTopProcesses. 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 HostTopProcesses.
pid (float) – The value to assign to the pid property of this HostTopProcesses.
user_name (str) – The value to assign to the user_name property of this HostTopProcesses.
memory_utilization_percent (float) – The value to assign to the memory_utilization_percent property of this HostTopProcesses.
cpu_utilization_percent (float) – The value to assign to the cpu_utilization_percent property of this HostTopProcesses.
cpu_usage_in_seconds (float) – The value to assign to the cpu_usage_in_seconds property of this HostTopProcesses.
command (str) – The value to assign to the command property of this HostTopProcesses.
virtual_memory_in_mbs (float) – The value to assign to the virtual_memory_in_mbs property of this HostTopProcesses.
physical_memory_in_mbs (float) – The value to assign to the physical_memory_in_mbs property of this HostTopProcesses.
start_time (datetime) – The value to assign to the start_time property of this HostTopProcesses.
total_processes (float) – The value to assign to the total_processes property of this HostTopProcesses.
container_id (str) – The value to assign to the container_id property of this HostTopProcesses.
disk_bytes_read (float) – The value to assign to the disk_bytes_read property of this HostTopProcesses.
disk_bytes_written (float) – The value to assign to the disk_bytes_written property of this HostTopProcesses.
disk_iops_read (float) – The value to assign to the disk_iops_read property of this HostTopProcesses.
disk_iops_written (float) – The value to assign to the disk_iops_written property of this HostTopProcesses.
disk_iops (float) – The value to assign to the disk_iops property of this HostTopProcesses.
- property command¶
Gets the command of this HostTopProcesses. Command line executed for the process
- Returns
The command of this HostTopProcesses.
- Return type
str
- property container_id¶
Gets the container_id of this HostTopProcesses. Container id if this process corresponds to a running container in the host
- Returns
The container_id of this HostTopProcesses.
- Return type
str
- property cpu_usage_in_seconds¶
Gets the cpu_usage_in_seconds of this HostTopProcesses. CPU usage in seconds
- Returns
The cpu_usage_in_seconds of this HostTopProcesses.
- Return type
float
- property cpu_utilization_percent¶
Gets the cpu_utilization_percent of this HostTopProcesses. CPU utilization percentage
- Returns
The cpu_utilization_percent of this HostTopProcesses.
- Return type
float
- property disk_bytes_read¶
Gets the disk_bytes_read of this HostTopProcesses. Bytes Read
- Returns
The disk_bytes_read of this HostTopProcesses.
- Return type
float
- property disk_bytes_written¶
Gets the disk_bytes_written of this HostTopProcesses. Bytes Written
- Returns
The disk_bytes_written of this HostTopProcesses.
- Return type
float
- property disk_iops¶
Gets the disk_iops of this HostTopProcesses. IO Transactions per second
- Returns
The disk_iops of this HostTopProcesses.
- Return type
float
- property disk_iops_read¶
Gets the disk_iops_read of this HostTopProcesses. Read transactions per second
- Returns
The disk_iops_read of this HostTopProcesses.
- Return type
float
- property disk_iops_written¶
Gets the disk_iops_written of this HostTopProcesses. Write transactions per second
- Returns
The disk_iops_written of this HostTopProcesses.
- 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.
- property memory_utilization_percent¶
Gets the memory_utilization_percent of this HostTopProcesses. Memory utilization percentage
- Returns
The memory_utilization_percent of this HostTopProcesses.
- Return type
float
- property 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
- property physical_memory_in_mbs¶
Gets the physical_memory_in_mbs of this HostTopProcesses. Physical memory in megabytes
- Returns
The physical_memory_in_mbs of this HostTopProcesses.
- Return type
float
- property pid¶
Gets the pid of this HostTopProcesses. process id
- Returns
The pid of this HostTopProcesses.
- Return type
float
- property start_time¶
Gets the start_time of this HostTopProcesses. Process Start Time Example: “2020-03-31T00:00:00.000Z”
- Returns
The start_time of this HostTopProcesses.
- Return type
datetime
- property 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
- property total_processes¶
Gets the total_processes of this HostTopProcesses. Number of processes running at the time of collection
- Returns
The total_processes of this HostTopProcesses.
- Return type
float
- property user_name¶
Gets the user_name of this HostTopProcesses. User that started the process
- Returns
The user_name of this HostTopProcesses.
- Return type
str
- property virtual_memory_in_mbs¶
Gets the virtual_memory_in_mbs of this HostTopProcesses. Virtual memory in megabytes
- Returns
The virtual_memory_in_mbs of this HostTopProcesses.
- Return type
float