org.pentaho.di.trans.steps.systemdata
Class Management

java.lang.Object
  extended by org.pentaho.di.trans.steps.systemdata.Management

public class Management
extends Object


Constructor Summary
Management()
           
 
Method Summary
static long getCommittedVirtualMemorySize()
           
static long getCpuTime(long id)
           
static long getFreePhysicalMemorySize()
           
static long getFreeSwapSpaceSize()
           
static long getJVMCpuTime()
           
static long getPID()
           
static long getTotalPhysicalMemorySize()
           
static long getTotalSwapSpaceSize()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Management

public Management()
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.