Class Management
java.lang.Object
org.pentaho.di.trans.steps.systemdata.Management
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long
static long
getCpuTime
(long id) static long
static long
static long
static long
getPID()
static long
static long
-
Constructor Details
-
Management
public Management()
-
-
Method Details
-
getPID
public static long getPID()- Returns:
- Process CPU time in nanoseconds
-
getJVMCpuTime
public static long getJVMCpuTime()- Returns:
- JVM CPU time in nanoseconds
-
getFreePhysicalMemorySize
public static long getFreePhysicalMemorySize()- Returns:
- the amount of free physical memory in bytes
-
getFreeSwapSpaceSize
public static long getFreeSwapSpaceSize()- Returns:
- the amount of free swap space in bytes
-
getTotalPhysicalMemorySize
public static long getTotalPhysicalMemorySize()- Returns:
- the total amount of physical memory in bytes
-
getTotalSwapSpaceSize
public static long getTotalSwapSpaceSize()- Returns:
- the total amount of swap space in bytes.
-
getCommittedVirtualMemorySize
public static long getCommittedVirtualMemorySize()- Returns:
- the amount of virtual memory that is guaranteed to be available to the running process in bytes
-
getCpuTime
public static long getCpuTime(long id) - Returns:
- CPU time in nanoseconds.
-