HostTopProcesses¶
-
class
oci.opsi.models.
HostTopProcesses
(**kwargs)¶ Bases:
oci.opsi.models.host_performance_metric_group.HostPerformanceMetricGroup
Top Processes metric for the host
Attributes
METRIC_NAME_HOST_CPU_USAGE
str(object=’’) -> str METRIC_NAME_HOST_FILESYSTEM_USAGE
str(object=’’) -> str METRIC_NAME_HOST_GPU_PROCESSES
str(object=’’) -> str METRIC_NAME_HOST_GPU_USAGE
str(object=’’) -> str METRIC_NAME_HOST_IO_USAGE
str(object=’’) -> str METRIC_NAME_HOST_MEMORY_USAGE
str(object=’’) -> str METRIC_NAME_HOST_NETWORK_ACTIVITY_SUMMARY
str(object=’’) -> str METRIC_NAME_HOST_TOP_PROCESSES
str(object=’’) -> str command
Gets the command of this HostTopProcesses. container_id
Gets the container_id of this HostTopProcesses. cpu_usage_in_seconds
Gets the cpu_usage_in_seconds of this HostTopProcesses. cpu_utilization_percent
Gets the cpu_utilization_percent of this HostTopProcesses. disk_bytes_read
Gets the disk_bytes_read of this HostTopProcesses. disk_bytes_written
Gets the disk_bytes_written of this HostTopProcesses. disk_iops
Gets the disk_iops of this HostTopProcesses. disk_iops_read
Gets the disk_iops_read of this HostTopProcesses. disk_iops_written
Gets the disk_iops_written of this HostTopProcesses. memory_utilization_percent
Gets the memory_utilization_percent of this HostTopProcesses. metric_name
[Required] Gets the metric_name of this HostPerformanceMetricGroup. physical_memory_in_mbs
Gets the physical_memory_in_mbs of this HostTopProcesses. pid
Gets the pid of this HostTopProcesses. start_time
Gets the start_time of this HostTopProcesses. time_collected
[Required] Gets the time_collected of this HostPerformanceMetricGroup. total_processes
Gets the total_processes of this HostTopProcesses. user_name
Gets the user_name of this HostTopProcesses. virtual_memory_in_mbs
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'¶
-
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 HostTopProcesses object with values from keyword arguments. The default value of the
metric_name
attribute of this class isHOST_TOP_PROCESSES
and 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.
-
command
¶ Gets the command of this HostTopProcesses. Command line executed for the process
Returns: The command of this HostTopProcesses. Return type: str
-
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
-
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
-
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
-
disk_bytes_read
¶ Gets the disk_bytes_read of this HostTopProcesses. Bytes Read
Returns: The disk_bytes_read of this HostTopProcesses. Return type: float
-
disk_bytes_written
¶ Gets the disk_bytes_written of this HostTopProcesses. Bytes Written
Returns: The disk_bytes_written of this HostTopProcesses. Return type: float
-
disk_iops
¶ Gets the disk_iops of this HostTopProcesses. IO Transactions per second
Returns: The disk_iops of this HostTopProcesses. Return type: float
-
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
-
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.
-
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
-
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
-
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
-
pid
¶ Gets the pid of this HostTopProcesses. process id
Returns: The pid of this HostTopProcesses. Return type: float
-
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
-
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
-
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
-
user_name
¶ Gets the user_name of this HostTopProcesses. User that started the process
Returns: The user_name of this HostTopProcesses. Return type: str
-
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
-