Class Management
- java.lang.Object
-
- org.pentaho.di.trans.steps.systemdata.Management
-
public class Management extends Object
-
-
Constructor Summary
Constructors Constructor Description Management()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longgetCommittedVirtualMemorySize()static longgetCpuTime(long id)static longgetFreePhysicalMemorySize()static longgetFreeSwapSpaceSize()static longgetJVMCpuTime()static longgetPID()static longgetTotalPhysicalMemorySize()static longgetTotalSwapSpaceSize()
-
-
-
Method Detail
-
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.
-
-