public final class RuntimeInfo extends Object implements Serializable
| Constructor and Description |
|---|
RuntimeInfo() |
RuntimeInfo(long uptime) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFreeMemory()
Get the JVM free memory in bytes
|
long |
getMaxMemory()
Get the maximum memory allocated for the JVM in bytes
|
int |
getNThreads()
Get the number of threads currently used.
|
double |
getProcessCpuLoad()
Get the process current CPU load.
|
double |
getSystemCpuLoad()
Get the system CPU load.
|
long |
getTotalMemory()
Get the total memory currently used by the JVM in bytes
|
long |
getUptime()
Get the Agent's uptime in milliseconds.
|
public int getNThreads()
public long getMaxMemory()
public long getTotalMemory()
public long getFreeMemory()
public double getProcessCpuLoad()
public double getSystemCpuLoad()
public long getUptime()
Copyright © 2023 LSST. All rights reserved.