public class KmsLocalMonitor extends KmsMonitor
| Modifier and Type | Field and Description |
|---|---|
static int |
KMS_WAIT_TIMEOUT |
static int |
MONITOR_PORT_DEFAULT |
static String |
MONITOR_PORT_PROP |
| Constructor and Description |
|---|
KmsLocalMonitor() |
| Modifier and Type | Method and Description |
|---|---|
protected double |
getCpuUsage() |
protected int |
getKmsPid() |
protected double[] |
getMem() |
protected NetInfo |
getNetInfo() |
protected int |
getNumThreads() |
static void |
main(String[] args) |
measureKmspublic 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
InterruptedExceptionIOExceptionprotected NetInfo getNetInfo()
getNetInfo in class KmsMonitorprotected double getCpuUsage()
getCpuUsage in class KmsMonitorprotected double[] getMem()
getMem in class KmsMonitorprotected int getKmsPid()
getKmsPid in class KmsMonitorprotected int getNumThreads()
getNumThreads in class KmsMonitorCopyright © 2016 Kurento. All rights reserved.