@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class HostTopProcesses extends HostPerformanceMetricGroup
Top Processes metric for the host
HostTopProcesses.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 called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
HostTopProcesses.Builder |
HostPerformanceMetricGroup.MetricName
Constructor and Description |
---|
HostTopProcesses(Date timeCollected,
BigDecimal pid,
String userName,
Double memoryUtilizationPercent,
Double cpuUtilizationPercent,
Double cpuUsageInSeconds,
String command,
Double virtualMemoryInMBs,
Double physicalMemoryInMBs,
Date startTime,
BigDecimal totalProcesses)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static HostTopProcesses.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCommand()
Command line executed for the process
|
Double |
getCpuUsageInSeconds()
CPU usage in seconds
|
Double |
getCpuUtilizationPercent()
CPU utilization percentage
|
Double |
getMemoryUtilizationPercent()
Memory utilization percentage
|
Double |
getPhysicalMemoryInMBs()
Physical memory in megabytes
|
BigDecimal |
getPid()
process id
|
Date |
getStartTime()
Process Start Time
Example:
"2020-03-31T00:00:00.000Z" |
BigDecimal |
getTotalProcesses()
Number of processes running at the time of collection
|
String |
getUserName()
User that started the process
|
Double |
getVirtualMemoryInMBs()
Virtual memory in megabytes
|
int |
hashCode() |
HostTopProcesses.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getTimeCollected
@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)
public static HostTopProcesses.Builder builder()
Create a new builder.
public HostTopProcesses.Builder toBuilder()
public BigDecimal getPid()
process id
public String getUserName()
User that started the process
public Double getMemoryUtilizationPercent()
Memory utilization percentage
public Double getCpuUtilizationPercent()
CPU utilization percentage
public Double getCpuUsageInSeconds()
CPU usage in seconds
public String getCommand()
Command line executed for the process
public Double getVirtualMemoryInMBs()
Virtual memory in megabytes
public Double getPhysicalMemoryInMBs()
Physical memory in megabytes
public Date getStartTime()
Process Start Time
Example: "2020-03-31T00:00:00.000Z"
public BigDecimal getTotalProcesses()
Number of processes running at the time of collection
public String toString()
toString
in class HostPerformanceMetricGroup
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class HostPerformanceMetricGroup
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class HostPerformanceMetricGroup
public int hashCode()
hashCode
in class HostPerformanceMetricGroup
Copyright © 2016–2022. All rights reserved.