HostGpuProcesses¶
-
class
oci.opsi.models.
HostGpuProcesses
(**kwargs)¶ Bases:
oci.opsi.models.host_performance_metric_group.HostPerformanceMetricGroup
GPU processes metrics, processes using GPUs.
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 elapsed_time
Gets the elapsed_time of this HostGpuProcesses. gpu_id
Gets the gpu_id of this HostGpuProcesses. gpu_memory_usage
Gets the gpu_memory_usage of this HostGpuProcesses. metric_name
[Required] Gets the metric_name of this HostPerformanceMetricGroup. pid
Gets the pid of this HostGpuProcesses. process_name
Gets the process_name of this HostGpuProcesses. time_collected
[Required] Gets the time_collected of this HostPerformanceMetricGroup. Methods
__init__
(**kwargs)Initializes a new HostGpuProcesses 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 HostGpuProcesses object with values from keyword arguments. The default value of the
metric_name
attribute of this class isHOST_GPU_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 HostGpuProcesses. 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 HostGpuProcesses.
- gpu_id (int) – The value to assign to the gpu_id property of this HostGpuProcesses.
- pid (int) – The value to assign to the pid property of this HostGpuProcesses.
- process_name (str) – The value to assign to the process_name property of this HostGpuProcesses.
- elapsed_time (float) – The value to assign to the elapsed_time property of this HostGpuProcesses.
- gpu_memory_usage (float) – The value to assign to the gpu_memory_usage property of this HostGpuProcesses.
-
elapsed_time
¶ Gets the elapsed_time of this HostGpuProcesses. Process elapsed time
Returns: The elapsed_time of this HostGpuProcesses. 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.
-
gpu_id
¶ Gets the gpu_id of this HostGpuProcesses. GPU Identifier
Returns: The gpu_id of this HostGpuProcesses. Return type: int
-
gpu_memory_usage
¶ Gets the gpu_memory_usage of this HostGpuProcesses. Memory Used by Process in MBs
Returns: The gpu_memory_usage of this HostGpuProcesses. 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
-
pid
¶ Gets the pid of this HostGpuProcesses. Process Identifier
Returns: The pid of this HostGpuProcesses. Return type: int
-
process_name
¶ Gets the process_name of this HostGpuProcesses. Process Name (process using GPU)
Returns: The process_name of this HostGpuProcesses. Return type: str
-
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
-