NonStop Server for Java Programmer's Reference (NSJ 4.0+)

Example 2: cpu=times
CPU TIME (ms) BEGIN (total = 2801506) Mon Jan 7 10:41:41 2002
rank self accum count trace method
1 6.89% 6.89% 22920 6668 WorkClass.doSomeThing
2 3.14% 10.03% 2638848 10198 java/util/HashMap.access$2
3 1.70% 11.74% 2639051 16945 java/lang/String.equals
........
CPU TIMES END
Example 3 (heap=sites)
SITES BEGIN (ordered by live bytes) Wed DEC 19 11:26:18 2001
percent live alloc'ed stack class
rank self accum bytes objs bytes objs trace name
1 34.27% 34.27% 195984 4188 588528 24522 595 MyClass
2 24.22% 58.49% 94044 8246 868728 63412 1 [C
.........
SITES END
NonStop Server for Java 4 Implementation-Specific
Options
NonStop Server for Java 4 enhances the set of options that you can specify only in the OSS environment for the
java command:
java -Xrunhprof:special
Note: These options are only for cpu=samples.
The only and skip options can be repeated to cover multiple threads, but not mixed. You can start or stop
sampling at only once.
period=num ms
Specifies the time between samples. The default interval is 100 milliseconds.
only=thread-name
Sets the sample to only the given thread. You can repeat this option to specify more than one thread. A
thread specified in this option cannot also be specified in the skip option.
skip=thread-name
Sets skip sampling this thread. You can repeat this option to specify more than one thread. A thread set to
be skipped cannot also be used in the only option.
from=full-method-name
Specifies to start sampling when this method is entered.
fexit=full-method-name
Specifies to start sampling when this method exits.
upto=full-method-name
Specifies to stop and generate a dump when this method is entered.