public static class BTraceUtils.Sys
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BTraceUtils.Sys.Env |
static class |
BTraceUtils.Sys.Memory |
static class |
BTraceUtils.Sys.VM |
Constructor and Description |
---|
BTraceUtils.Sys() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
$(int n)
Returns n'th command line argument.
|
static int |
$length()
Returns the number of command line arguments.
|
static void |
exit()
This is same as exit(int) except that the exit code
is zero.
|
static void |
exit(int exitCode)
Exits the BTrace session -- note that the particular client's tracing
session exits and not the observed/traced program!
|
static int |
getpid()
Returns the process id of the currently BTrace'd process.
|
public static java.lang.String $(int n)
null
if not available.n
- command line argument indexpublic static int getpid()
public static int $length()
public static void exit(int exitCode)
exitCode
- exit value sent to the clientpublic static void exit()
exit(int)