public class SigarAgent
extends java.lang.Object
java -javaagent:/path/to/sigar-loader.jar=kamon.sigar.folder=/path/to/sigar/extract/location ...
| Constructor and Description |
|---|
SigarAgent() |
| Modifier and Type | Method and Description |
|---|---|
static void |
agentmain(java.lang.String options,
java.lang.instrument.Instrumentation instrumentation)
Contract: starting agents after JVM startup.
|
static void |
configure(java.lang.String options,
java.lang.instrument.Instrumentation instrumentation)
Agent mode configuration.
|
static java.lang.instrument.Instrumentation |
instrumentation()
Injected JVM instrumentation instance.
|
static java.lang.String |
options()
Agent command line options.
|
static void |
premain(java.lang.String options,
java.lang.instrument.Instrumentation instrumentation)
Contract: starting agents via command-line interface.
|
public static void agentmain(java.lang.String options,
java.lang.instrument.Instrumentation instrumentation)
throws java.lang.Exception
options - Agent command line options.instrumentation - Injected JVM instrumentation instance.java.lang.Exception - the exceptionpublic static void premain(java.lang.String options,
java.lang.instrument.Instrumentation instrumentation)
throws java.lang.Exception
options - Agent command line options.instrumentation - Injected JVM instrumentation instance.java.lang.Exception - the exceptionpublic static void configure(java.lang.String options,
java.lang.instrument.Instrumentation instrumentation)
throws java.lang.Exception
options - Agent command line options.instrumentation - Injected JVM instrumentation instance.java.lang.Exception - the exceptionpublic static java.lang.String options()
public static java.lang.instrument.Instrumentation instrumentation()