public class KmsMonitor extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
KMS_WAIT_TIMEOUT |
static int |
MONITOR_PORT_DEFAULT |
static String |
MONITOR_PORT_PROP |
| Constructor and Description |
|---|
KmsMonitor() |
| Modifier and Type | Method and Description |
|---|---|
double |
getCpuUsage() |
NetInfo |
getInitNetInfo() |
double[] |
getMemSwap() |
NetInfo |
getNetInfo(NetInfo initNetInfo) |
NetInfo |
getNetInfo(NetInfo initNetInfo,
NetInfo lastNetInfo) |
static void |
main(String[] args) |
KmsSystemInfo |
measureKms() |
public static final String MONITOR_PORT_PROP
public static final int MONITOR_PORT_DEFAULT
public static final int KMS_WAIT_TIMEOUT
public static void main(String[] args) throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic KmsSystemInfo measureKms()
public NetInfo getInitNetInfo()
public double getCpuUsage()
public double[] getMemSwap()
Copyright © 2015 Kurento. All rights reserved.