|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.btrace.BTraceUtils.Sys
public static class BTraceUtils.Sys
Nested Class Summary | |
---|---|
static class |
BTraceUtils.Sys.Env
|
static class |
BTraceUtils.Sys.Memory
|
static class |
BTraceUtils.Sys.VM
|
Constructor Summary | |
---|---|
BTraceUtils.Sys()
|
Method Summary | |
---|---|
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! After exit call, the trace action method terminates immediately and no other probe action method (of that client) will be called after that. |
static int |
getpid()
Returns the process id of the currently BTrace'd process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BTraceUtils.Sys()
Method Detail |
---|
public static java.lang.String $(int n)
null
if not available.
n
- command line argument index
public 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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |