As you know,
ps -ef|grep java
it will provide you the following output,
admin 6412 15489 0 15:21:29 ? 92:18 /opt/weblogic-9.2.3/jdk150_12/bin/java -client -Xmx512m -XX:MaxPermSize=256m -c
we can not able to see the full java command which is used to start weblogic server, like server name and memory otpions, location of the server and classpath.
To get these information, you can use the following command,
$/usr/ucb/ps -auxww
This command will display all process in the solaris machine with whole java command including classpath, server options, java options, memroy settings.
from this you can search the process id of weblogic server by its server name ,
$/usr/ucb/ps -auxww|grep serverName
It will display only your weblogic server parameters from the all process.
In a solaris machine if multi java process running, then this command will help you to get your server paramerters by simple search options.
Got it..Thanq..:-)
ReplyDeleteSolaris commands are useful for solaris systems administration.
ReplyDeleteRegards,
SOLARIS Training institute in Hyderabad.