Server IP : 103.119.228.120 / Your IP : 3.145.18.135 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/opsi/models/ |
Upload File : |
# coding: utf-8 # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200630 from .host_performance_metric_group import HostPerformanceMetricGroup from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class HostTopProcesses(HostPerformanceMetricGroup): """ Top Processes metric for the host """ def __init__(self, **kwargs): """ Initializes a new HostTopProcesses object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.HostTopProcesses.metric_name` attribute of this class is ``HOST_TOP_PROCESSES`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param metric_name: 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", "HOST_CONTAINERS" :type metric_name: str :param time_collected: The value to assign to the time_collected property of this HostTopProcesses. :type time_collected: datetime :param pid: The value to assign to the pid property of this HostTopProcesses. :type pid: float :param user_name: The value to assign to the user_name property of this HostTopProcesses. :type user_name: str :param memory_utilization_percent: The value to assign to the memory_utilization_percent property of this HostTopProcesses. :type memory_utilization_percent: float :param cpu_utilization_percent: The value to assign to the cpu_utilization_percent property of this HostTopProcesses. :type cpu_utilization_percent: float :param cpu_usage_in_seconds: The value to assign to the cpu_usage_in_seconds property of this HostTopProcesses. :type cpu_usage_in_seconds: float :param command: The value to assign to the command property of this HostTopProcesses. :type command: str :param virtual_memory_in_mbs: The value to assign to the virtual_memory_in_mbs property of this HostTopProcesses. :type virtual_memory_in_mbs: float :param physical_memory_in_mbs: The value to assign to the physical_memory_in_mbs property of this HostTopProcesses. :type physical_memory_in_mbs: float :param start_time: The value to assign to the start_time property of this HostTopProcesses. :type start_time: datetime :param total_processes: The value to assign to the total_processes property of this HostTopProcesses. :type total_processes: float :param container_id: The value to assign to the container_id property of this HostTopProcesses. :type container_id: str :param disk_bytes_read: The value to assign to the disk_bytes_read property of this HostTopProcesses. :type disk_bytes_read: float :param disk_bytes_written: The value to assign to the disk_bytes_written property of this HostTopProcesses. :type disk_bytes_written: float :param disk_iops_read: The value to assign to the disk_iops_read property of this HostTopProcesses. :type disk_iops_read: float :param disk_iops_written: The value to assign to the disk_iops_written property of this HostTopProcesses. :type disk_iops_written: float :param disk_iops: The value to assign to the disk_iops property of this HostTopProcesses. :type disk_iops: float """ self.swagger_types = { 'metric_name': 'str', 'time_collected': 'datetime', 'pid': 'float', 'user_name': 'str', 'memory_utilization_percent': 'float', 'cpu_utilization_percent': 'float', 'cpu_usage_in_seconds': 'float', 'command': 'str', 'virtual_memory_in_mbs': 'float', 'physical_memory_in_mbs': 'float', 'start_time': 'datetime', 'total_processes': 'float', 'container_id': 'str', 'disk_bytes_read': 'float', 'disk_bytes_written': 'float', 'disk_iops_read': 'float', 'disk_iops_written': 'float', 'disk_iops': 'float' } self.attribute_map = { 'metric_name': 'metricName', 'time_collected': 'timeCollected', 'pid': 'pid', 'user_name': 'userName', 'memory_utilization_percent': 'memoryUtilizationPercent', 'cpu_utilization_percent': 'cpuUtilizationPercent', 'cpu_usage_in_seconds': 'cpuUsageInSeconds', 'command': 'command', 'virtual_memory_in_mbs': 'virtualMemoryInMBs', 'physical_memory_in_mbs': 'physicalMemoryInMBs', 'start_time': 'startTime', 'total_processes': 'totalProcesses', 'container_id': 'containerId', 'disk_bytes_read': 'diskBytesRead', 'disk_bytes_written': 'diskBytesWritten', 'disk_iops_read': 'diskIopsRead', 'disk_iops_written': 'diskIopsWritten', 'disk_iops': 'diskIops' } self._metric_name = None self._time_collected = None self._pid = None self._user_name = None self._memory_utilization_percent = None self._cpu_utilization_percent = None self._cpu_usage_in_seconds = None self._command = None self._virtual_memory_in_mbs = None self._physical_memory_in_mbs = None self._start_time = None self._total_processes = None self._container_id = None self._disk_bytes_read = None self._disk_bytes_written = None self._disk_iops_read = None self._disk_iops_written = None self._disk_iops = None self._metric_name = 'HOST_TOP_PROCESSES' @property def pid(self): """ Gets the pid of this HostTopProcesses. process id :return: The pid of this HostTopProcesses. :rtype: float """ return self._pid @pid.setter def pid(self, pid): """ Sets the pid of this HostTopProcesses. process id :param pid: The pid of this HostTopProcesses. :type: float """ self._pid = pid @property def user_name(self): """ Gets the user_name of this HostTopProcesses. User that started the process :return: The user_name of this HostTopProcesses. :rtype: str """ return self._user_name @user_name.setter def user_name(self, user_name): """ Sets the user_name of this HostTopProcesses. User that started the process :param user_name: The user_name of this HostTopProcesses. :type: str """ self._user_name = user_name @property def memory_utilization_percent(self): """ Gets the memory_utilization_percent of this HostTopProcesses. Memory utilization percentage :return: The memory_utilization_percent of this HostTopProcesses. :rtype: float """ return self._memory_utilization_percent @memory_utilization_percent.setter def memory_utilization_percent(self, memory_utilization_percent): """ Sets the memory_utilization_percent of this HostTopProcesses. Memory utilization percentage :param memory_utilization_percent: The memory_utilization_percent of this HostTopProcesses. :type: float """ self._memory_utilization_percent = memory_utilization_percent @property def cpu_utilization_percent(self): """ Gets the cpu_utilization_percent of this HostTopProcesses. CPU utilization percentage :return: The cpu_utilization_percent of this HostTopProcesses. :rtype: float """ return self._cpu_utilization_percent @cpu_utilization_percent.setter def cpu_utilization_percent(self, cpu_utilization_percent): """ Sets the cpu_utilization_percent of this HostTopProcesses. CPU utilization percentage :param cpu_utilization_percent: The cpu_utilization_percent of this HostTopProcesses. :type: float """ self._cpu_utilization_percent = cpu_utilization_percent @property def cpu_usage_in_seconds(self): """ Gets the cpu_usage_in_seconds of this HostTopProcesses. CPU usage in seconds :return: The cpu_usage_in_seconds of this HostTopProcesses. :rtype: float """ return self._cpu_usage_in_seconds @cpu_usage_in_seconds.setter def cpu_usage_in_seconds(self, cpu_usage_in_seconds): """ Sets the cpu_usage_in_seconds of this HostTopProcesses. CPU usage in seconds :param cpu_usage_in_seconds: The cpu_usage_in_seconds of this HostTopProcesses. :type: float """ self._cpu_usage_in_seconds = cpu_usage_in_seconds @property def command(self): """ Gets the command of this HostTopProcesses. Command line executed for the process :return: The command of this HostTopProcesses. :rtype: str """ return self._command @command.setter def command(self, command): """ Sets the command of this HostTopProcesses. Command line executed for the process :param command: The command of this HostTopProcesses. :type: str """ self._command = command @property def virtual_memory_in_mbs(self): """ Gets the virtual_memory_in_mbs of this HostTopProcesses. Virtual memory in megabytes :return: The virtual_memory_in_mbs of this HostTopProcesses. :rtype: float """ return self._virtual_memory_in_mbs @virtual_memory_in_mbs.setter def virtual_memory_in_mbs(self, virtual_memory_in_mbs): """ Sets the virtual_memory_in_mbs of this HostTopProcesses. Virtual memory in megabytes :param virtual_memory_in_mbs: The virtual_memory_in_mbs of this HostTopProcesses. :type: float """ self._virtual_memory_in_mbs = virtual_memory_in_mbs @property def physical_memory_in_mbs(self): """ Gets the physical_memory_in_mbs of this HostTopProcesses. Physical memory in megabytes :return: The physical_memory_in_mbs of this HostTopProcesses. :rtype: float """ return self._physical_memory_in_mbs @physical_memory_in_mbs.setter def physical_memory_in_mbs(self, physical_memory_in_mbs): """ Sets the physical_memory_in_mbs of this HostTopProcesses. Physical memory in megabytes :param physical_memory_in_mbs: The physical_memory_in_mbs of this HostTopProcesses. :type: float """ self._physical_memory_in_mbs = physical_memory_in_mbs @property def start_time(self): """ Gets the start_time of this HostTopProcesses. Process Start Time Example: `\"2020-03-31T00:00:00.000Z\"` :return: The start_time of this HostTopProcesses. :rtype: datetime """ return self._start_time @start_time.setter def start_time(self, start_time): """ Sets the start_time of this HostTopProcesses. Process Start Time Example: `\"2020-03-31T00:00:00.000Z\"` :param start_time: The start_time of this HostTopProcesses. :type: datetime """ self._start_time = start_time @property def total_processes(self): """ Gets the total_processes of this HostTopProcesses. Number of processes running at the time of collection :return: The total_processes of this HostTopProcesses. :rtype: float """ return self._total_processes @total_processes.setter def total_processes(self, total_processes): """ Sets the total_processes of this HostTopProcesses. Number of processes running at the time of collection :param total_processes: The total_processes of this HostTopProcesses. :type: float """ self._total_processes = total_processes @property def container_id(self): """ Gets the container_id of this HostTopProcesses. Container id if this process corresponds to a running container in the host :return: The container_id of this HostTopProcesses. :rtype: str """ return self._container_id @container_id.setter def container_id(self, container_id): """ Sets the container_id of this HostTopProcesses. Container id if this process corresponds to a running container in the host :param container_id: The container_id of this HostTopProcesses. :type: str """ self._container_id = container_id @property def disk_bytes_read(self): """ Gets the disk_bytes_read of this HostTopProcesses. Bytes Read :return: The disk_bytes_read of this HostTopProcesses. :rtype: float """ return self._disk_bytes_read @disk_bytes_read.setter def disk_bytes_read(self, disk_bytes_read): """ Sets the disk_bytes_read of this HostTopProcesses. Bytes Read :param disk_bytes_read: The disk_bytes_read of this HostTopProcesses. :type: float """ self._disk_bytes_read = disk_bytes_read @property def disk_bytes_written(self): """ Gets the disk_bytes_written of this HostTopProcesses. Bytes Written :return: The disk_bytes_written of this HostTopProcesses. :rtype: float """ return self._disk_bytes_written @disk_bytes_written.setter def disk_bytes_written(self, disk_bytes_written): """ Sets the disk_bytes_written of this HostTopProcesses. Bytes Written :param disk_bytes_written: The disk_bytes_written of this HostTopProcesses. :type: float """ self._disk_bytes_written = disk_bytes_written @property def disk_iops_read(self): """ Gets the disk_iops_read of this HostTopProcesses. Read transactions per second :return: The disk_iops_read of this HostTopProcesses. :rtype: float """ return self._disk_iops_read @disk_iops_read.setter def disk_iops_read(self, disk_iops_read): """ Sets the disk_iops_read of this HostTopProcesses. Read transactions per second :param disk_iops_read: The disk_iops_read of this HostTopProcesses. :type: float """ self._disk_iops_read = disk_iops_read @property def disk_iops_written(self): """ Gets the disk_iops_written of this HostTopProcesses. Write transactions per second :return: The disk_iops_written of this HostTopProcesses. :rtype: float """ return self._disk_iops_written @disk_iops_written.setter def disk_iops_written(self, disk_iops_written): """ Sets the disk_iops_written of this HostTopProcesses. Write transactions per second :param disk_iops_written: The disk_iops_written of this HostTopProcesses. :type: float """ self._disk_iops_written = disk_iops_written @property def disk_iops(self): """ Gets the disk_iops of this HostTopProcesses. IO Transactions per second :return: The disk_iops of this HostTopProcesses. :rtype: float """ return self._disk_iops @disk_iops.setter def disk_iops(self, disk_iops): """ Sets the disk_iops of this HostTopProcesses. IO Transactions per second :param disk_iops: The disk_iops of this HostTopProcesses. :type: float """ self._disk_iops = disk_iops def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other