How to check command line arguments of running Java virtual machine in HP-UX
 Technote (FAQ)
 
Problem
HP-UX provides the ability to display command line arguments for running processes with ps -x -p PID by displaying processes in extended format.
 
Cause
Unable to display command line arguments for Java™ processes.
 
Solution
The following is the output of a ps -x -p PID for a Java process, ID 26611:

# ps -x -p  26611
PID TTY       TIME COMMAND
26611 pts/ta    1:19 /opt/WebSphere51/AppServer/java/bin/PA_RISC2.0/java -Xboot
classpath/p:/opt/WebSphere51/AppServer/java/jre/lib/ext/ibmorb.jar:/opt/
WebSphere51/AppServer/java/jre/lib/ext/ibmext.jar -Dwas.status.socket=51123 -classpath /

opt/WebSphere51/AppServer/properties:/opt/WebSphere51/AppServer/properties:/
opt/WebSphere51/AppServer/lib/bootstrap.jar:/opt/WebSphere51/AppServer/lib/
j2ee.jar:/opt/WebSphere51/AppServer/lib/lmproxy.jar:/opt/WebSphere51/
AppServer/lib/urlprotocols.jar -Xms50m -Xmx256m
-Dws.ext.dirs=/opt/WebSphere51/AppServer/java/lib:/opt/WebSphere51/AppServer/
classes:/opt/WebSphere51/AppServer/classes:/opt/WebSphere51/AppServer/lib:
/opt/WebSphere51/AppServer/lib/ext:/opt/WebSphere51/AppServer/web/help:/opt/
WebSphere51/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/
runtime -Dserver.root=/opt/WebSphere51/AppServer -Ddb2j.system.home=/opt/
WebSphere51/AppServer/cloudscape -Duser.install.root=/opt/WebSphere51/AppServer -Dcom.ibm.itp.location=/opt/WebSphere51/AppServer/bin -Dwas.install.root=/opt/WebSph

The total output for a single line is limited to 1024 characters.

 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java SDK
Operating system(s): HP-UX
Software version: 6.0
Software edition:
Reference #: 1170605
IBM Group: Software Group
Modified date: Dec 8, 2006