Package com.oracle.bmc.opsi.model
Class HostTopProcesses
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.opsi.model.HostPerformanceMetricGroup
-
- com.oracle.bmc.opsi.model.HostTopProcesses
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class HostTopProcesses extends HostPerformanceMetricGroup
Top Processes metric for the host
Note: Objects should always be created or deserialized using theHostTopProcesses.Builder
.This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the
HostTopProcesses.Builder
, which maintain a set of all explicitly set fields calledHostTopProcesses.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HostTopProcesses.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.opsi.model.HostPerformanceMetricGroup
HostPerformanceMetricGroup.MetricName
-
-
Constructor Summary
Constructors Constructor Description HostTopProcesses(Date timeCollected, BigDecimal pid, String userName, Double memoryUtilizationPercent, Double cpuUtilizationPercent, Double cpuUsageInSeconds, String command, Double virtualMemoryInMBs, Double physicalMemoryInMBs, Date startTime, BigDecimal totalProcesses, String containerId, Double diskBytesRead, Double diskBytesWritten, Double diskIopsRead, Double diskIopsWritten, Double diskIops)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostTopProcesses.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCommand()
Command line executed for the processString
getContainerId()
Container id if this process corresponds to a running container in the hostDouble
getCpuUsageInSeconds()
CPU usage in secondsDouble
getCpuUtilizationPercent()
CPU utilization percentageDouble
getDiskBytesRead()
Bytes ReadDouble
getDiskBytesWritten()
Bytes WrittenDouble
getDiskIops()
IO Transactions per secondDouble
getDiskIopsRead()
Read transactions per secondDouble
getDiskIopsWritten()
Write transactions per secondDouble
getMemoryUtilizationPercent()
Memory utilization percentageDouble
getPhysicalMemoryInMBs()
Physical memory in megabytesBigDecimal
getPid()
process idDate
getStartTime()
Process Start Time Example: “2020-03-31T00:00:00.000Z”BigDecimal
getTotalProcesses()
Number of processes running at the time of collectionString
getUserName()
User that started the processDouble
getVirtualMemoryInMBs()
Virtual memory in megabytesint
hashCode()
HostTopProcesses.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.opsi.model.HostPerformanceMetricGroup
getTimeCollected
-
-
-
-
Constructor Detail
-
HostTopProcesses
@Deprecated public HostTopProcesses(Date timeCollected, BigDecimal pid, String userName, Double memoryUtilizationPercent, Double cpuUtilizationPercent, Double cpuUsageInSeconds, String command, Double virtualMemoryInMBs, Double physicalMemoryInMBs, Date startTime, BigDecimal totalProcesses, String containerId, Double diskBytesRead, Double diskBytesWritten, Double diskIopsRead, Double diskIopsWritten, Double diskIops)
Deprecated.
-
-
Method Detail
-
builder
public static HostTopProcesses.Builder builder()
Create a new builder.
-
toBuilder
public HostTopProcesses.Builder toBuilder()
-
getPid
public BigDecimal getPid()
process id- Returns:
- the value
-
getUserName
public String getUserName()
User that started the process- Returns:
- the value
-
getMemoryUtilizationPercent
public Double getMemoryUtilizationPercent()
Memory utilization percentage- Returns:
- the value
-
getCpuUtilizationPercent
public Double getCpuUtilizationPercent()
CPU utilization percentage- Returns:
- the value
-
getCpuUsageInSeconds
public Double getCpuUsageInSeconds()
CPU usage in seconds- Returns:
- the value
-
getCommand
public String getCommand()
Command line executed for the process- Returns:
- the value
-
getVirtualMemoryInMBs
public Double getVirtualMemoryInMBs()
Virtual memory in megabytes- Returns:
- the value
-
getPhysicalMemoryInMBs
public Double getPhysicalMemoryInMBs()
Physical memory in megabytes- Returns:
- the value
-
getStartTime
public Date getStartTime()
Process Start Time Example: “2020-03-31T00:00:00.000Z”- Returns:
- the value
-
getTotalProcesses
public BigDecimal getTotalProcesses()
Number of processes running at the time of collection- Returns:
- the value
-
getContainerId
public String getContainerId()
Container id if this process corresponds to a running container in the host- Returns:
- the value
-
getDiskBytesRead
public Double getDiskBytesRead()
Bytes Read- Returns:
- the value
-
getDiskBytesWritten
public Double getDiskBytesWritten()
Bytes Written- Returns:
- the value
-
getDiskIopsRead
public Double getDiskIopsRead()
Read transactions per second- Returns:
- the value
-
getDiskIopsWritten
public Double getDiskIopsWritten()
Write transactions per second- Returns:
- the value
-
getDiskIops
public Double getDiskIops()
IO Transactions per second- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classHostPerformanceMetricGroup
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classHostPerformanceMetricGroup
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classHostPerformanceMetricGroup
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classHostPerformanceMetricGroup
-
-