public class LinuxCpuSamplerPlugin extends Object implements CpuSamplerPlugin, Runnable
AIX, FREEBSD, LINUX, MAC_OS, MAC_OS_X, OS_2, POWERPC, SOLARIS, WINDOWS_2000, WINDOWS_95, WINDOWS_CE, WINDOWS_NT, WINDOWS_XP| Constructor and Description |
|---|
LinuxCpuSamplerPlugin(long intervalInMs) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
convertToCSV(String header,
String data) |
String |
getCpuUtilizationStats() |
String |
getVmstat() |
void |
run() |
void |
setVmstat(String vmstat) |
void |
start() |
void |
stop() |
public LinuxCpuSamplerPlugin(long intervalInMs)
public void start()
start in interface CpuSamplerPluginpublic void stop()
stop in interface CpuSamplerPluginpublic String getCpuUtilizationStats()
getCpuUtilizationStats in interface CpuSamplerPluginprotected String convertToCSV(String header, String data)
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.