NonStop Server for Java 7.0 Tools Reference Pages

nsjps -parent 16777243
PID Cmd
754974740 java
Cross Reference Option
NSJPS provides -x option that prints the parent-child Java process relationships.
This helps to identify the child Java processes started by a particular parent process.
In the cross reference listing, only the Java processes are considered and not the
GC processes. The following example shows the usage and output for -x option.
nsjps x
PID ParentPID Cmd
743899154 911671351 java
89587743 1062666314 java
Child processes for parent 911671351
743899154
Child processes for parent 1062666314
89587743
Output Options
The output options are used to print details such as, PIN, User ID, and process ID on the selected
Java processes.
Heap Sizes
NSJPS prints the heap size only in bytes. Therefore, even if the heap size is large,
for example 24 GB, NSJPS displays it as 25769803776 bytes. Note that with
NSJ7, the heap space required for JVM and Java heap are allocated from flat
segments and the size output of a Java or GC process includes the size of these
segments in addition to the native C-heap. The following example shows the usage
and output for -h option:
/home/daya/ACC/nssjava/jdk170_h70/bin/nsjps -h
PID Cmd Heap
16777243 java 377126912
-h option
If h option is used with gc option, then the heap size for each process in the
Java process group is listed separately. The following example shows the usage
and output for -h option:
nsjps h gc
PID Cmd Heap
251658247 java 1963311104
67108872 javagc 278528
33554441 javagc 278528
16777226 javagc 278528
-l option
This option lists the Java or GC process command in long format. The following
example shows the usage and output for -l option:
nsjps l
PID Full Path
1040187405 /usr/tandem/nssjava/jdk170_h70/bin/java
48 nsjps: NonStop Java Virtual Machine Process Status Tool