ps -ef | grep javain Solaris cant see all parameter pass to java. /bin/ps(default) will crop your process name.
Example
sit:ps -ef | grep java wasadmin 4170 14515 0 09:43:34 ? 1:45 /opt/IBM/WebSphere/AppServer/java/bin/sparcv9/java -Dwas.status.socket=44691 -D wasadmin 14567 1839 0 Mar 24 ? 83:40 /opt/IBM/WebSphere/AppServer/java/bin/sparcv9/java -Dwas.status.socket=39108 -X wasadmin 14466 1839 0 Mar 24 ? 104:34 /opt/IBM/WebSphere/AppServer/java/bin/sparcv9/java -Dwas.status.socket=38668 -X wasadmin 14515 1839 0 Mar 24 ? 85:00 /opt/IBM/WebSphere/AppServer/java/bin/sparcv9/java -Dwas.status.socket=38859 -X wasadmin 28302 1839 0 Mar 25 ? 96:09 /opt/IBM/WebSphere/AppServer/java/bin/sparcv9/java -Dwas.status.socket=58191 -X wasadmin 5806 1839 0 Mar 25 ? 200:20 /opt/IBM/WebSphere/AppServer/java/bin/sparcv9/java -Dwas.status.socket=63240 -X wasa
Use defaut
/bin/argsby pass in the processID into it.
example
sit:pargs 3054 3054: /opt/IBM/WebSphere/AppServer/java/bin/sparcv9/java -Dwas.status.socket=4 4421 -D argv[0]: /opt/IBM/WebSphere/AppServer/java/bin/sparcv9/java argv[1]: -Dwas.status.socket=44421 argv[2]: -Declipse.security argv[3]: -Dosgi.install.area=/opt/IBM/WebSphere/AppServer argv[4]:
reference
http://www.davidyahalom.com/index.php/show-full-process-name-path-string-in-solaris-using-ps/
No comments:
Post a Comment