NonStop Server for Java 7.0 Tools Reference Pages

-v option
This option lists the argument passed to the Java process. The following example
shows the usage and output for -v option:
nsjps v
PID Cmd arguments
989855920 java -XX:+UseParallelGC HelloWorld
-p option
This option lists the Guardian pin of the Java or GC process. The following example
shows the usage and output for -p option:
nsjps p
PID Cmd PIN
989855920 java 1,1173
922747051 java 1,390
-u option
This option lists the Java process and the owner of this Java or GC process. The
following example shows the usage and output for -u option:
nsjps u
PID Cmd User
989855920 java SUPER.SUPER
922747051 javagc SUPER.SUPER
-t option
This option displays the process and elapsed time of a Java Process. If gc option
is specified then the time specified is separate for Java and GC process. Otherwise,
the time is a consolidated output time of Java and GC process. The following
example shows the usage and output for -t option:
nsjps t
PID Cmd CpuTime ElapseTime
1895825444 java 0:00:23.346 0:33:10.325
nsjps t gc
PID Cmd CpuTime ElapseTime
989855920 java 0:26:28.543 2:01:17.923
922747051 javagc 0:00:01.085 2:01:05.844
1090519214 javagc 0:00:00.799 2:01:05.594
-count <cnt> option
This option repeats the listing of Java process specified by number in <cnt>. The
following example shows the usage and output for -count option:
nsjps -count 2 -delay 1
PID Cmd
1895825444 java
1040187405 java
1895825444 java
1040187405 java
-delay <time> option
This option lists the Java process listing after specified delay <time>. The following
example shows the usage and output for -delay option:
nsjps -count 2 -delay 1
Synopsis 49