goldengate.common.cpu
Class CpuManagementSysmon
java.lang.Object
goldengate.common.cpu.CpuManagementSysmon
- All Implemented Interfaces:
- CpuManagementInterface
public class CpuManagementSysmon
- extends Object
- implements CpuManagementInterface
- Author:
- bregier
Field Summary |
static long |
delay
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delay
public static long delay
CpuManagementSysmon
public CpuManagementSysmon()
throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
- if System Load Average is not supported
getLoadAverage
public double getLoadAverage()
- Specified by:
getLoadAverage
in interface CpuManagementInterface
- Returns:
- the load average
main
public static void main(String[] args)
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.